1
0
mirror of https://github.com/jhillyerd/inbucket.git synced 2026-01-27 05:25:58 +00:00

Web server now starts

Can serve static content, no dynamic stuff yet
This commit is contained in:
James Hillyerd
2012-10-20 23:03:59 -07:00
parent 81fea97a90
commit 442e8fbe14
8 changed files with 150 additions and 20 deletions

View File

@@ -34,7 +34,7 @@ func (s *Server) Start() {
panic(err)
}
inbucket.Info("Listening on TCP4 %v", addr)
inbucket.Info("SMTP listening on TCP4 %v", addr)
ln, err := net.ListenTCP("tcp4", addr)
if err != nil {
inbucket.Error("Failed to start tcp4 listener: %v", err)