type net/http.Server
58 uses
net/http (current package)
http2.go#L52: func (s *Server) configureHTTP2() {
http2.go#L74: s.TLSNextProto = make(map[string]func(*Server, *tls.Conn, Handler))
http2.go#L78: s.TLSNextProto["h2"] = func(hs *Server, c *tls.Conn, h Handler) {
http2.go#L85: func (s *Server) setHTTP2Config(conf http2ExternalServerConfig) {
http2.go#L94: func (s *Server) serveHTTP2Conn(ctx context.Context, nc net.Conn, h Handler, sawClientPreface bool, upgradeReq *Request, settings []byte) {
http2.go#L189: s *Server
server.go#L258: server *Server
server.go#L678: func (s *Server) newConn(rwc net.Conn) *conn {
server.go#L946: func (s *Server) maxHeaderBytes() int {
server.go#L953: func (s *Server) maxHeaderValueCount() int {
server.go#L960: func (s *Server) initialReadLimitSize() int64 {
server.go#L969: func (s *Server) tlsHandshakeTimeout() time.Duration {
server.go#L2247: var nextFunc func(*Server, *tls.Conn, Handler)
server.go#L3037: srv := &Server{Handler: handler}
server.go#L3054: srv := &Server{Handler: handler}
server.go#L3060: type Server struct {
server.go#L3143: TLSNextProto map[string]func(*Server, *tls.Conn, Handler)
server.go#L3222: func (s *Server) Close() error {
server.go#L3272: func (s *Server) Shutdown(ctx context.Context) error {
server.go#L3318: func (s *Server) RegisterOnShutdown(f func()) {
server.go#L3326: func (s *Server) closeIdleConns() bool {
server.go#L3350: func (s *Server) closeListenersLocked() error {
server.go#L3415: srv *Server
server.go#L3473: func (s *Server) ListenAndServe() error {
server.go#L3488: var testHookServerServe func(*Server, net.Listener) // used if non-nil
server.go#L3492: func (s *Server) shouldConfigureHTTP2ForServe() bool {
server.go#L3529: func (s *Server) Serve(l net.Listener) error {
server.go#L3608: func (s *Server) setupTLSConfig(certFile, keyFile string, nextProtos []string) (*tls.Config, error) {
server.go#L3638: func (s *Server) ServeTLS(l net.Listener, certFile, keyFile string) error {
server.go#L3658: func (s *Server) protocols() Protocols {
server.go#L3736: func (s *Server) trackListener(ln *net.Listener, add bool) bool {
server.go#L3755: func (s *Server) trackConn(c *conn, add bool) {
server.go#L3768: func (s *Server) idleTimeout() time.Duration {
server.go#L3775: func (s *Server) readHeaderTimeout() time.Duration {
server.go#L3782: func (s *Server) doKeepAlives() bool {
server.go#L3786: func (s *Server) shuttingDown() bool {
server.go#L3794: func (s *Server) SetKeepAlivesEnabled(v bool) {
server.go#L3807: func (s *Server) logf(format string, args ...any) {
server.go#L3819: s, _ := r.Context().Value(ServerContextKey).(*Server)
server.go#L3835: server := &Server{Addr: addr, Handler: handler}
server.go#L3845: server := &Server{Addr: addr, Handler: handler}
server.go#L3919: func (s *Server) ListenAndServeTLS(certFile, keyFile string) error {
server.go#L3968: func (s *Server) setupHTTP2_ServeTLS() error {
server.go#L3981: func (s *Server) setupHTTP2_Serve() error {
server.go#L3986: func (s *Server) onceSetNextProtoDefaults_Serve() {
server.go#L3997: 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
client_priority_go127.go#L11: func clientPriorityDisabled(s *http.Server) bool {
server_common.go#L45: func ConfigureServer(s *http.Server, conf *Server) error {
server_common.go#L190: BaseConfig *http.Server
server_common.go#L242: func (o *ServeConnOpts) baseConfig() *http.Server {
server_common.go#L246: return new(http.Server)
server_wrap.go#L23: s1 *http.Server
server_wrap.go#L28: func configureServer(s *http.Server, conf *Server) error {
server_wrap.go#L129: h1 := &http.Server{
server_wrap.go#L156: h1 := &http.Server{}