Versions in this module Expand all Collapse all v0 v0.1.2 Apr 18, 2022 Changes in this version + type IdleTimeoutOption time.Duration + type ListenOption struct + Address string + Network string + type Option interface + 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 time.Duration + type ReadTimeoutOption time.Duration + type TlsOption struct + Config *tls.Config + func (o *TlsOption) Certificate(certPem, keyPem []byte) *TlsOption + func (o *TlsOption) ClientCa(caPem []byte) *TlsOption + type WriteTimeoutOption time.Duration