- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for UseBaseContext (0.2 sec)
-
internal/http/server.go
// UseTLSConfig pass configured TLSConfig for this HTTP *Server func (srv *Server) UseTLSConfig(cfg *tls.Config) *Server { srv.TLSConfig = cfg return srv } // UseBaseContext use custom base context for this HTTP *Server func (srv *Server) UseBaseContext(ctx context.Context) *Server { srv.BaseContext = func(listener net.Listener) context.Context { return ctx } return srv }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Jun 19 18:42:47 UTC 2024 - 6.1K bytes - Viewed (0)