type net/http.Server
59 uses
net/http (current package)
h2_bundle.go#L3935: func http2ConfigureServer(s *Server, conf *http2Server) error {
h2_bundle.go#L3990: s.TLSNextProto = map[string]func(*Server, *tls.Conn, Handler){}
h2_bundle.go#L3992: protoHandler := func(hs *Server, c *tls.Conn, h Handler) {
h2_bundle.go#L4026: BaseConfig *Server
h2_bundle.go#L4041: func (o *http2ServeConnOpts) baseConfig() *Server {
h2_bundle.go#L4045: return new(Server)
h2_bundle.go#L4208: hs *Server
h2_bundle.go#L6714: func http2h1ServerKeepAlivesDisabled(hs *Server) bool {
server.go#L251: server *Server
server.go#L613: func (srv *Server) newConn(rwc net.Conn) *conn {
server.go#L857: func (srv *Server) maxHeaderBytes() int {
server.go#L864: func (srv *Server) initialReadLimitSize() int64 {
server.go#L873: func (srv *Server) tlsHandshakeTimeout() time.Duration {
server.go#L2542: srv := &Server{Handler: handler}
server.go#L2559: srv := &Server{Handler: handler}
server.go#L2565: type Server struct {
server.go#L2630: TLSNextProto map[string]func(*Server, *tls.Conn, Handler)
server.go#L2670: func (s *Server) getDoneChan() <-chan struct{} {
server.go#L2676: func (s *Server) getDoneChanLocked() chan struct{} {
server.go#L2683: func (s *Server) closeDoneChanLocked() {
server.go#L2704: func (srv *Server) Close() error {
server.go#L2746: func (srv *Server) Shutdown(ctx context.Context) error {
server.go#L2789: func (srv *Server) RegisterOnShutdown(f func()) {
server.go#L2795: func (s *Server) numListeners() int {
server.go#L2803: func (s *Server) closeIdleConns() bool {
server.go#L2827: func (s *Server) closeListenersLocked() error {
server.go#L2892: srv *Server
server.go#L2956: func (srv *Server) ListenAndServe() error {
server.go#L2971: var testHookServerServe func(*Server, net.Listener) // used if non-nil
server.go#L2975: func (srv *Server) shouldConfigureHTTP2ForServe() bool {
server.go#L3009: func (srv *Server) Serve(l net.Listener) error {
server.go#L3088: func (srv *Server) ServeTLS(l net.Listener, certFile, keyFile string) error {
server.go#L3124: func (s *Server) trackListener(ln *net.Listener, add bool) bool {
server.go#L3141: func (s *Server) trackConn(c *conn, add bool) {
server.go#L3154: func (s *Server) idleTimeout() time.Duration {
server.go#L3161: func (s *Server) readHeaderTimeout() time.Duration {
server.go#L3168: func (s *Server) doKeepAlives() bool {
server.go#L3172: func (s *Server) shuttingDown() bool {
server.go#L3180: func (srv *Server) SetKeepAlivesEnabled(v bool) {
server.go#L3193: func (s *Server) logf(format string, args ...any) {
server.go#L3205: s, _ := r.Context().Value(ServerContextKey).(*Server)
server.go#L3221: server := &Server{Addr: addr, Handler: handler}
server.go#L3231: server := &Server{Addr: addr, Handler: handler}
server.go#L3250: func (srv *Server) ListenAndServeTLS(certFile, keyFile string) error {
server.go#L3272: func (srv *Server) setupHTTP2_ServeTLS() error {
server.go#L3285: func (srv *Server) setupHTTP2_Serve() error {
server.go#L3290: func (srv *Server) onceSetNextProtoDefaults_Serve() {
server.go#L3299: func (srv *Server) onceSetNextProtoDefaults() {
net/http/httptest
server.go#L42: Config *http.Server
server.go#L118: Config: &http.Server{Handler: handler},
net/http/pprof
pprof.go#L105: srv, ok := r.Context().Value(http.ServerContextKey).(*http.Server)
golang.org/x/net/http2
server.go#L248: func ConfigureServer(s *http.Server, conf *Server) error {
server.go#L303: s.TLSNextProto = map[string]func(*http.Server, *tls.Conn, http.Handler){}
server.go#L305: protoHandler := func(hs *http.Server, c *tls.Conn, h http.Handler) {
server.go#L339: BaseConfig *http.Server
server.go#L368: func (o *ServeConnOpts) baseConfig() *http.Server {
server.go#L372: return new(http.Server)
server.go#L554: hs *http.Server
server.go#L3201: func h1ServerKeepAlivesDisabled(hs *http.Server) bool {