type net/http.Server
48 uses
net/http (current package)
h2_bundle.go#L1067: func http2configFromServer(h1 *Server, h2 *http2Server) http2http2Config {
h2_bundle.go#L4299: func http2ConfigureServer(s *Server, conf *http2Server) error {
h2_bundle.go#L4357: s.TLSNextProto = map[string]func(*Server, *tls.Conn, Handler){}
h2_bundle.go#L4359: protoHandler := func(hs *Server, c net.Conn, h Handler, sawClientPreface bool) {
h2_bundle.go#L4382: s.TLSNextProto[http2NextProtoTLS] = func(hs *Server, c *tls.Conn, h Handler) {
h2_bundle.go#L4388: s.TLSNextProto[http2nextProtoUnencryptedHTTP2] = func(hs *Server, c *tls.Conn, h Handler) {
h2_bundle.go#L4412: BaseConfig *Server
h2_bundle.go#L4441: func (o *http2ServeConnOpts) baseConfig() *Server {
h2_bundle.go#L4445: return new(Server)
h2_bundle.go#L4641: hs *Server
h2_bundle.go#L7386: 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#L2961: srv := &Server{Handler: handler}
server.go#L2978: srv := &Server{Handler: handler}
server.go#L2984: type Server struct {
server.go#L3056: TLSNextProto map[string]func(*Server, *tls.Conn, Handler)
server.go#L3120: func (s *Server) Close() error {
server.go#L3170: func (s *Server) Shutdown(ctx context.Context) error {
server.go#L3213: func (s *Server) RegisterOnShutdown(f func()) {
server.go#L3221: func (s *Server) closeIdleConns() bool {
server.go#L3245: func (s *Server) closeListenersLocked() error {
server.go#L3310: srv *Server
server.go#L3368: func (s *Server) ListenAndServe() error {
server.go#L3383: var testHookServerServe func(*Server, net.Listener) // used if non-nil
server.go#L3387: func (s *Server) shouldConfigureHTTP2ForServe() bool {
server.go#L3424: func (s *Server) Serve(l net.Listener) error {
server.go#L3502: func (s *Server) ServeTLS(l net.Listener, certFile, keyFile string) error {
server.go#L3526: func (s *Server) protocols() Protocols {
server.go#L3595: func (s *Server) trackListener(ln *net.Listener, add bool) bool {
server.go#L3614: func (s *Server) trackConn(c *conn, add bool) {
server.go#L3627: func (s *Server) idleTimeout() time.Duration {
server.go#L3634: func (s *Server) readHeaderTimeout() time.Duration {
server.go#L3641: func (s *Server) doKeepAlives() bool {
server.go#L3645: func (s *Server) shuttingDown() bool {
server.go#L3653: func (s *Server) SetKeepAlivesEnabled(v bool) {
server.go#L3666: func (s *Server) logf(format string, args ...any) {
server.go#L3678: s, _ := r.Context().Value(ServerContextKey).(*Server)
server.go#L3694: server := &Server{Addr: addr, Handler: handler}
server.go#L3704: server := &Server{Addr: addr, Handler: handler}
server.go#L3723: func (s *Server) ListenAndServeTLS(certFile, keyFile string) error {
server.go#L3745: func (s *Server) setupHTTP2_ServeTLS() error {
server.go#L3758: func (s *Server) setupHTTP2_Serve() error {
server.go#L3763: func (s *Server) onceSetNextProtoDefaults_Serve() {
server.go#L3774: func (s *Server) onceSetNextProtoDefaults() {
 |
The pages are generated with Golds v0.8.5. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |