- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for UseCustomLogger (0.07 sec)
-
internal/http/server.go
func (srv *Server) UseBaseContext(ctx context.Context) *Server { srv.BaseContext = func(listener net.Listener) context.Context { return ctx } return srv } // UseCustomLogger use customized logger for this HTTP *Server func (srv *Server) UseCustomLogger(l *log.Logger) *Server { srv.ErrorLog = l return srv } // UseTCPOptions use custom TCP options on raw socket
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 18:42:47 UTC 2024 - 6.1K bytes - Viewed (0)