package
0.0.0-20210315005507-2ef905a1d98f
Repository: https://github.com/picatz/mtls.git
Documentation: pkg.go.dev
# Functions
New implements a wrappeer to create a new Server, applying the given server Option(s).
WithAddr sets the given addr string for the Server.
WithHandler sets the server's handler function.
WithTLSConfig sets the given TLS config for the Server.
# Constants
DefaultAddr is the default listening address of a mTLS server.
# Type aliases
Option implements a hook to custom a Server using the New function.