type net/http.Server
64 uses
net/http (current package)
h2_bundle.go#L1066: func http2configFromServer(h1 *Server, h2 *http2Server) http2http2Config {
h2_bundle.go#L4227: func http2ConfigureServer(s *Server, conf *http2Server) error {
h2_bundle.go#L4285: s.TLSNextProto = map[string]func(*Server, *tls.Conn, Handler){}
h2_bundle.go#L4287: protoHandler := func(hs *Server, c net.Conn, h Handler, sawClientPreface bool) {
h2_bundle.go#L4310: s.TLSNextProto[http2NextProtoTLS] = func(hs *Server, c *tls.Conn, h Handler) {
h2_bundle.go#L4316: s.TLSNextProto[http2nextProtoUnencryptedHTTP2] = func(hs *Server, c *tls.Conn, h Handler) {
h2_bundle.go#L4340: BaseConfig *Server
h2_bundle.go#L4369: func (o *http2ServeConnOpts) baseConfig() *Server {
h2_bundle.go#L4373: return new(Server)
h2_bundle.go#L4570: hs *Server
h2_bundle.go#L7292: func http2h1ServerKeepAlivesDisabled(hs *Server) bool {
server.go#L257: server *Server
server.go#L634: func (s *Server) newConn(rwc net.Conn) *conn {
server.go#L897: func (s *Server) maxHeaderBytes() int {
server.go#L904: func (s *Server) initialReadLimitSize() int64 {
server.go#L913: func (s *Server) tlsHandshakeTimeout() time.Duration {
server.go#L2941: srv := &Server{Handler: handler}
server.go#L2958: srv := &Server{Handler: handler}
server.go#L2964: type Server struct {
server.go#L3036: TLSNextProto map[string]func(*Server, *tls.Conn, Handler)
server.go#L3100: func (s *Server) Close() error {
server.go#L3150: func (s *Server) Shutdown(ctx context.Context) error {
server.go#L3193: func (s *Server) RegisterOnShutdown(f func()) {
server.go#L3201: func (s *Server) closeIdleConns() bool {
server.go#L3225: func (s *Server) closeListenersLocked() error {
server.go#L3290: srv *Server
server.go#L3348: func (s *Server) ListenAndServe() error {
server.go#L3363: var testHookServerServe func(*Server, net.Listener) // used if non-nil
server.go#L3367: func (s *Server) shouldConfigureHTTP2ForServe() bool {
server.go#L3404: func (s *Server) Serve(l net.Listener) error {
server.go#L3482: func (s *Server) ServeTLS(l net.Listener, certFile, keyFile string) error {
server.go#L3506: func (s *Server) protocols() Protocols {
server.go#L3575: func (s *Server) trackListener(ln *net.Listener, add bool) bool {
server.go#L3594: func (s *Server) trackConn(c *conn, add bool) {
server.go#L3607: func (s *Server) idleTimeout() time.Duration {
server.go#L3614: func (s *Server) readHeaderTimeout() time.Duration {
server.go#L3621: func (s *Server) doKeepAlives() bool {
server.go#L3625: func (s *Server) shuttingDown() bool {
server.go#L3633: func (s *Server) SetKeepAlivesEnabled(v bool) {
server.go#L3646: func (s *Server) logf(format string, args ...any) {
server.go#L3658: s, _ := r.Context().Value(ServerContextKey).(*Server)
server.go#L3674: server := &Server{Addr: addr, Handler: handler}
server.go#L3684: server := &Server{Addr: addr, Handler: handler}
server.go#L3703: func (s *Server) ListenAndServeTLS(certFile, keyFile string) error {
server.go#L3725: func (s *Server) setupHTTP2_ServeTLS() error {
server.go#L3738: func (s *Server) setupHTTP2_Serve() error {
server.go#L3743: func (s *Server) onceSetNextProtoDefaults_Serve() {
server.go#L3754: func (s *Server) onceSetNextProtoDefaults() {
net/http/httptest
server.go#L43: Config *http.Server
server.go#L121: Config: &http.Server{Handler: handler},
net/http/pprof
pprof.go#L125: 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 {