Documentation ¶
Index ¶
- type IdleTimeoutOption
- type ListenOption
- type Option
- func IdleTimeout(duration time.Duration) Option
- func Listen(network, address string) Option
- func ListenIpAndPort(ip string, port uint16) Option
- func ListenPort(port uint16) Option
- func ListenTcp(addr string) Option
- func ListenUnix(path string) Option
- func ReadHeaderTimeout(duration time.Duration) Option
- func ReadTimeout(duration time.Duration) Option
- func WriteTimeout(duration time.Duration) Option
- type ReadHeaderTimeoutOption
- type ReadTimeoutOption
- type TlsOption
- type WriteTimeoutOption
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IdleTimeoutOption ¶
type ListenOption ¶
type Option ¶
type Option interface {
// contains filtered or unexported methods
}
func IdleTimeout ¶
func ListenIpAndPort ¶
func ListenPort ¶
func ListenUnix ¶
func ReadHeaderTimeout ¶
func ReadTimeout ¶
func WriteTimeout ¶
type ReadHeaderTimeoutOption ¶
type ReadTimeoutOption ¶
type TlsOption ¶
func (*TlsOption) Certificate ¶
type WriteTimeoutOption ¶
Click to show internal directories.
Click to hide internal directories.