package
3.6.0-alpha.0
Repository: https://github.com/etcd-io/etcd.git
Documentation: pkg.go.dev

# Functions

IsClosedConnError returns true if the error is from closing listener, cmux.
LimitListener returns a Listener that accepts at most n simultaneous connections from the provided Listener.
NewKeepAliveListener returns a listener that listens on the given address.
NewListener creates a new listner.
NewListenerWithOpts creates a new listener which accpets listener options.
NewTimeoutListener returns a listener that listens on the given address.
NewTimeoutTransport returns a transport created using the given TLS info.
NewTLSListener handshakes TLS connections and performs optional CRL checking.
ValidateSecureEndpoints scans the given endpoints against tls info, returning only those endpoints that could be validated as secure.
WithSkipTLSInfoCheck when true a transport can be created with an https scheme without passing TLSInfo, circumventing not presented error.
WithSocketOpts defines socket options that will be applied to the listener.
WithTimeout allows for a read or write timeout to be applied to the listener.
WithTLSInfo adds TLS credentials to the listener.

# Variables

# Structs

# Type aliases

ListenerOption are options which can be applied to the listener.