type net/http.Server
64 uses
net/http (current package)
h2_bundle.go#L1069: func http2configFromServer(h1 *Server, h2 *http2Server) http2http2Config {
h2_bundle.go#L1150: func http2fillNetHTTPServerConfig(conf *http2http2Config, srv *Server) {
h2_bundle.go#L4300: func http2ConfigureServer(s *Server, conf *http2Server) error {
h2_bundle.go#L4355: s.TLSNextProto = map[string]func(*Server, *tls.Conn, Handler){}
h2_bundle.go#L4357: protoHandler := func(hs *Server, c net.Conn, h Handler, sawClientPreface bool) {
h2_bundle.go#L4380: s.TLSNextProto[http2NextProtoTLS] = func(hs *Server, c *tls.Conn, h Handler) {
h2_bundle.go#L4386: s.TLSNextProto[http2nextProtoUnencryptedHTTP2] = func(hs *Server, c *tls.Conn, h Handler) {
h2_bundle.go#L4410: BaseConfig *Server
h2_bundle.go#L4439: func (o *http2ServeConnOpts) baseConfig() *Server {
h2_bundle.go#L4443: return new(Server)
h2_bundle.go#L4637: hs *Server
h2_bundle.go#L7409: func http2h1ServerKeepAlivesDisabled(hs *Server) bool {
server.go#L257: server *Server
server.go#L631: func (s *Server) newConn(rwc net.Conn) *conn {
server.go#L918: func (s *Server) maxHeaderBytes() int {
server.go#L925: func (s *Server) initialReadLimitSize() int64 {
server.go#L934: func (s *Server) tlsHandshakeTimeout() time.Duration {
server.go#L2931: srv := &Server{Handler: handler}
server.go#L2948: srv := &Server{Handler: handler}
server.go#L2954: type Server struct {
server.go#L3023: TLSNextProto map[string]func(*Server, *tls.Conn, Handler)
server.go#L3090: func (s *Server) Close() error {
server.go#L3140: func (s *Server) Shutdown(ctx context.Context) error {
server.go#L3183: func (s *Server) RegisterOnShutdown(f func()) {
server.go#L3191: func (s *Server) closeIdleConns() bool {
server.go#L3215: func (s *Server) closeListenersLocked() error {
server.go#L3280: srv *Server
server.go#L3338: func (s *Server) ListenAndServe() error {
server.go#L3353: var testHookServerServe func(*Server, net.Listener) // used if non-nil
server.go#L3357: func (s *Server) shouldConfigureHTTP2ForServe() bool {
server.go#L3394: func (s *Server) Serve(l net.Listener) error {
server.go#L3472: func (s *Server) ServeTLS(l net.Listener, certFile, keyFile string) error {
server.go#L3496: func (s *Server) protocols() Protocols {
server.go#L3565: func (s *Server) trackListener(ln *net.Listener, add bool) bool {
server.go#L3584: func (s *Server) trackConn(c *conn, add bool) {
server.go#L3597: func (s *Server) idleTimeout() time.Duration {
server.go#L3604: func (s *Server) readHeaderTimeout() time.Duration {
server.go#L3611: func (s *Server) doKeepAlives() bool {
server.go#L3615: func (s *Server) shuttingDown() bool {
server.go#L3623: func (s *Server) SetKeepAlivesEnabled(v bool) {
server.go#L3636: func (s *Server) logf(format string, args ...any) {
server.go#L3648: s, _ := r.Context().Value(ServerContextKey).(*Server)
server.go#L3664: server := &Server{Addr: addr, Handler: handler}
server.go#L3674: server := &Server{Addr: addr, Handler: handler}
server.go#L3693: func (s *Server) ListenAndServeTLS(certFile, keyFile string) error {
server.go#L3715: func (s *Server) setupHTTP2_ServeTLS() error {
server.go#L3728: func (s *Server) setupHTTP2_Serve() error {
server.go#L3733: func (s *Server) onceSetNextProtoDefaults_Serve() {
server.go#L3744: func (s *Server) onceSetNextProtoDefaults() {
net/http/pprof
pprof.go#L124: srv, ok := r.Context().Value(http.ServerContextKey).(*http.Server)
go.pact.im/x/httpprocess
httpprocess.go#L17: func Server(srv *http.Server, lis net.Listener) process.Runner {
go.pact.im/x/httptrack
tracker.go#L43: func Wrap(s *http.Server, h Tracker) TrackerFunc {
golang.org/x/net/http2
config.go#L44: func configFromServer(h1 *http.Server, h2 *Server) http2Config {
config_go124.go#L12: func fillNetHTTPServerConfig(conf *http2Config, srv *http.Server) {
server.go#L253: func ConfigureServer(s *http.Server, conf *Server) error {
server.go#L308: s.TLSNextProto = map[string]func(*http.Server, *tls.Conn, http.Handler){}
server.go#L310: protoHandler := func(hs *http.Server, c net.Conn, h http.Handler, sawClientPreface bool) {
server.go#L333: s.TLSNextProto[NextProtoTLS] = func(hs *http.Server, c *tls.Conn, h http.Handler) {
server.go#L339: s.TLSNextProto[nextProtoUnencryptedHTTP2] = func(hs *http.Server, c *tls.Conn, h http.Handler) {
server.go#L363: BaseConfig *http.Server
server.go#L392: func (o *ServeConnOpts) baseConfig() *http.Server {
server.go#L396: return new(http.Server)
server.go#L590: hs *http.Server
server.go#L3313: func h1ServerKeepAlivesDisabled(hs *http.Server) bool {