启动信息
This commit is contained in:
@@ -263,10 +263,9 @@ func main() {
|
||||
|
||||
// Run our server in a goroutine so that it doesn't block.
|
||||
go func() {
|
||||
log.WithFields(log.Fields{"address": *addr}).Info("starting server")
|
||||
if err := srv.ListenAndServe(); err != nil {
|
||||
log.WithFields(log.Fields{"error": err}).Error("startup error")
|
||||
} else {
|
||||
log.Info("proxy started at :: ", addr)
|
||||
}
|
||||
}()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user