Skip to content

Commit

Permalink
feat: added example
Browse files Browse the repository at this point in the history
  • Loading branch information
fvdveen committed Jul 16, 2018
1 parent 2ba2542 commit 23ca606
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions services/smtp/smtp.go
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,18 @@ import (
logging "github.com/op/go-logging"
)

/*
[service.smtp]
type="smtp"
port="tcp/25"
users=[
["user1", "password"],
]
secrets=[
["user2", "secret"]
]
*/

var (
_ = services.Register("smtp", SMTP)
log = logging.MustGetLogger("services/smtp")
Expand Down

0 comments on commit 23ca606

Please sign in to comment.