type net/http.Server
63 uses
net/http (current package)
h2_bundle.go#L1070: func http2configFromServer(h1 *Server, h2 *http2Server) http2http2Config {
h2_bundle.go#L1151: func http2fillNetHTTPServerConfig(conf *http2http2Config, srv *Server) {
h2_bundle.go#L4200: func http2ConfigureServer(s *Server, conf *http2Server) error {
h2_bundle.go#L4255: s.TLSNextProto = map[string]func(*Server, *tls.Conn, Handler){}
h2_bundle.go#L4257: protoHandler := func(hs *Server, c net.Conn, h Handler, sawClientPreface bool) {
h2_bundle.go#L4280: s.TLSNextProto[http2NextProtoTLS] = func(hs *Server, c *tls.Conn, h Handler) {
h2_bundle.go#L4286: s.TLSNextProto[http2nextProtoUnencryptedHTTP2] = func(hs *Server, c *tls.Conn, h Handler) {
h2_bundle.go#L4310: BaseConfig *Server
h2_bundle.go#L4339: func (o *http2ServeConnOpts) baseConfig() *Server {
h2_bundle.go#L4343: return new(Server)
h2_bundle.go#L4537: hs *Server
h2_bundle.go#L7266: func http2h1ServerKeepAlivesDisabled(hs *Server) bool {
server.go#L257: server *Server
server.go#L634: func (s *Server) newConn(rwc net.Conn) *conn {
server.go#L933: func (s *Server) maxHeaderBytes() int {
server.go#L940: func (s *Server) initialReadLimitSize() int64 {
server.go#L949: func (s *Server) tlsHandshakeTimeout() time.Duration {
server.go#L2970: srv := &Server{Handler: handler}
server.go#L2987: srv := &Server{Handler: handler}
server.go#L2993: type Server struct {
server.go#L3062: TLSNextProto map[string]func(*Server, *tls.Conn, Handler)
server.go#L3129: func (s *Server) Close() error {
server.go#L3179: func (s *Server) Shutdown(ctx context.Context) error {
server.go#L3222: func (s *Server) RegisterOnShutdown(f func()) {
server.go#L3230: func (s *Server) closeIdleConns() bool {
server.go#L3254: func (s *Server) closeListenersLocked() error {
server.go#L3319: srv *Server
server.go#L3377: func (s *Server) ListenAndServe() error {
server.go#L3392: var testHookServerServe func(*Server, net.Listener) // used if non-nil
server.go#L3396: func (s *Server) shouldConfigureHTTP2ForServe() bool {
server.go#L3433: func (s *Server) Serve(l net.Listener) error {
server.go#L3511: func (s *Server) ServeTLS(l net.Listener, certFile, keyFile string) error {
server.go#L3535: func (s *Server) protocols() Protocols {
server.go#L3604: func (s *Server) trackListener(ln *net.Listener, add bool) bool {
server.go#L3623: func (s *Server) trackConn(c *conn, add bool) {
server.go#L3636: func (s *Server) idleTimeout() time.Duration {
server.go#L3643: func (s *Server) readHeaderTimeout() time.Duration {
server.go#L3650: func (s *Server) doKeepAlives() bool {
server.go#L3654: func (s *Server) shuttingDown() bool {
server.go#L3662: func (s *Server) SetKeepAlivesEnabled(v bool) {
server.go#L3675: func (s *Server) logf(format string, args ...any) {
server.go#L3687: s, _ := r.Context().Value(ServerContextKey).(*Server)
server.go#L3703: server := &Server{Addr: addr, Handler: handler}
server.go#L3713: server := &Server{Addr: addr, Handler: handler}
server.go#L3732: func (s *Server) ListenAndServeTLS(certFile, keyFile string) error {
server.go#L3754: func (s *Server) setupHTTP2_ServeTLS() error {
server.go#L3767: func (s *Server) setupHTTP2_Serve() error {
server.go#L3772: func (s *Server) onceSetNextProtoDefaults_Serve() {
server.go#L3783: 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 {
server.go#L220: func ConfigureServer(s *http.Server, conf *Server) error {
server.go#L275: s.TLSNextProto = map[string]func(*http.Server, *tls.Conn, http.Handler){}
server.go#L277: protoHandler := func(hs *http.Server, c net.Conn, h http.Handler, sawClientPreface bool) {
server.go#L300: s.TLSNextProto[NextProtoTLS] = func(hs *http.Server, c *tls.Conn, h http.Handler) {
server.go#L306: s.TLSNextProto[nextProtoUnencryptedHTTP2] = func(hs *http.Server, c *tls.Conn, h http.Handler) {
server.go#L330: BaseConfig *http.Server
server.go#L359: func (o *ServeConnOpts) baseConfig() *http.Server {
server.go#L363: return new(http.Server)
server.go#L560: hs *http.Server
server.go#L3295: func h1ServerKeepAlivesDisabled(hs *http.Server) bool {