1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2025-12-18 10:07:02 +00:00

Pass cfg and ds as params, helps #26 #67

This commit is contained in:
James Hillyerd
2017-12-26 13:57:04 -08:00
parent 76a77beca9
commit cc47895d71
3 changed files with 8 additions and 15 deletions

View File

@@ -124,8 +124,7 @@ func main() {
go httpd.Start(rootCtx)
// Start POP3 server
// TODO pass datastore
pop3Server = pop3d.New(shutdownChan)
pop3Server = pop3d.New(config.GetPOP3Config(), shutdownChan, ds)
go pop3Server.Start(rootCtx)
// Startup SMTP server