![]() To wrapped up we need to add also the cmd package. To read the configuration I used an excellent package from Ilya Kaznacheev, because it allows you to read the configuration form the file and from the environment variables combined. Package smtpd import ( "context" "net" "strings" "/gabihodoroaga/smtpd-email-forward/config" "/gabihodoroaga/smtpd-email-forward/logger" "/gabihodoroaga/smtpd-email-forward/storage" "/gabihodoroaga/smtpd-email-forward/forwarder" "/mhale/smtpd" ) // StartServer initialize and start the smtp server onįunc StartServer ()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |