Stats management utilities

This commit is contained in:
9seconds
2018-07-09 11:29:47 +03:00
parent ff4be53d94
commit c66e300425
4 changed files with 182 additions and 9 deletions
+1 -1
View File
@@ -39,7 +39,7 @@ func (p *Proxy) Serve() error {
func (p *Proxy) accept(conn net.Conn) {
connID := uuid.NewV4().String()
log := zap.S().With("connection_id", connID)
log := zap.S().With("connection_id", connID).Named("main")
defer func() {
conn.Close()