Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for UseReadTimeout (0.08 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. internal/http/server.go

    }
    
    // UseIdleTimeout configure idle connection timeout
    func (srv *Server) UseIdleTimeout(d time.Duration) *Server {
    	srv.IdleTimeout = d
    	return srv
    }
    
    // UseReadTimeout configure connection request read timeout.
    func (srv *Server) UseReadTimeout(d time.Duration) *Server {
    	srv.ReadTimeout = d
    	return srv
    }
    
    // UseReadHeaderTimeout configure read header timeout
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. cmd/server-main.go

    		httpServer := xhttp.NewServer(getServerListenAddrs()).
    			UseHandler(setCriticalErrorHandler(corsHandler(handler))).
    			UseTLSConfig(newTLSConfig(getCert)).
    			UseIdleTimeout(globalServerCtxt.IdleTimeout).
    			UseReadTimeout(globalServerCtxt.IdleTimeout).
    			UseWriteTimeout(globalServerCtxt.IdleTimeout).
    			UseReadHeaderTimeout(globalServerCtxt.ReadHeaderTimeout).
    			UseBaseContext(GlobalContext).
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue May 27 15:18:36 GMT 2025
    - 35.9K bytes
    - Click Count (4)
Back to Top