type net/http.Server
48 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() {
 |
The pages are generated with Golds v0.8.4. (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. |