mirror of
https://gitlab.com/ric_harvey/MailHog.git
synced 2024-11-23 22:34:04 +00:00
Remove old config package
This commit is contained in:
parent
8da67a78f4
commit
116c210c25
1 changed files with 0 additions and 29 deletions
|
@ -1,29 +0,0 @@
|
|||
package config
|
||||
|
||||
import (
|
||||
"github.com/ian-kent/Go-MailHog/data"
|
||||
"github.com/ian-kent/Go-MailHog/storage"
|
||||
)
|
||||
|
||||
func DefaultConfig() *Config {
|
||||
return &Config{
|
||||
SMTPBindAddr: "0.0.0.0:1025",
|
||||
HTTPBindAddr: "0.0.0.0:8025",
|
||||
Hostname: "mailhog.example",
|
||||
MongoUri: "127.0.0.1:27017",
|
||||
MongoDb: "mailhog",
|
||||
MongoColl: "messages",
|
||||
}
|
||||
}
|
||||
|
||||
type Config struct {
|
||||
SMTPBindAddr string
|
||||
HTTPBindAddr string
|
||||
Hostname string
|
||||
MongoUri string
|
||||
MongoDb string
|
||||
MongoColl string
|
||||
MessageChan chan *data.Message
|
||||
Storage storage.Storage
|
||||
Assets func(asset string) ([]byte, error)
|
||||
}
|
Loading…
Reference in a new issue