Documentation
¶
Index ¶
- Constants
- func ViperDecoderHook() libmap.DecodeHookFuncType
- type ClientAuth
- func (a ClientAuth) Code() string
- func (a ClientAuth) MarshalCBOR() ([]byte, error)
- func (a ClientAuth) MarshalJSON() ([]byte, error)
- func (a ClientAuth) MarshalTOML() ([]byte, error)
- func (a ClientAuth) MarshalText() ([]byte, error)
- func (a ClientAuth) MarshalYAML() (interface{}, error)
- func (a ClientAuth) String() string
- func (a ClientAuth) TLS() tls.ClientAuthType
- func (a *ClientAuth) UnmarshalCBOR(bytes []byte) error
- func (a *ClientAuth) UnmarshalJSON(bytes []byte) error
- func (a *ClientAuth) UnmarshalTOML(i interface{}) error
- func (a *ClientAuth) UnmarshalText(bytes []byte) error
- func (a *ClientAuth) UnmarshalYAML(value *yaml.Node) error
Constants ¶
View Source
const ( NoClientCert = ClientAuth(tls.NoClientCert) RequestClientCert = ClientAuth(tls.RequestClientCert) RequireAnyClientCert = ClientAuth(tls.RequireAnyClientCert) VerifyClientCertIfGiven = ClientAuth(tls.VerifyClientCertIfGiven) RequireAndVerifyClientCert = ClientAuth(tls.RequireAndVerifyClientCert) )
Variables ¶
This section is empty.
Functions ¶
func ViperDecoderHook ¶
func ViperDecoderHook() libmap.DecodeHookFuncType
Types ¶
type ClientAuth ¶
type ClientAuth tls.ClientAuthType
func List ¶
func List() []ClientAuth
func Parse ¶
func Parse(s string) ClientAuth
func ParseInt ¶
func ParseInt(d int) ClientAuth
func (ClientAuth) Code ¶
func (a ClientAuth) Code() string
func (ClientAuth) MarshalCBOR ¶
func (a ClientAuth) MarshalCBOR() ([]byte, error)
func (ClientAuth) MarshalJSON ¶
func (a ClientAuth) MarshalJSON() ([]byte, error)
func (ClientAuth) MarshalTOML ¶
func (a ClientAuth) MarshalTOML() ([]byte, error)
func (ClientAuth) MarshalText ¶
func (a ClientAuth) MarshalText() ([]byte, error)
func (ClientAuth) MarshalYAML ¶
func (a ClientAuth) MarshalYAML() (interface{}, error)
func (ClientAuth) String ¶
func (a ClientAuth) String() string
func (ClientAuth) TLS ¶
func (a ClientAuth) TLS() tls.ClientAuthType
func (*ClientAuth) UnmarshalCBOR ¶
func (a *ClientAuth) UnmarshalCBOR(bytes []byte) error
func (*ClientAuth) UnmarshalJSON ¶
func (a *ClientAuth) UnmarshalJSON(bytes []byte) error
func (*ClientAuth) UnmarshalTOML ¶
func (a *ClientAuth) UnmarshalTOML(i interface{}) error
func (*ClientAuth) UnmarshalText ¶
func (a *ClientAuth) UnmarshalText(bytes []byte) error
func (*ClientAuth) UnmarshalYAML ¶
func (a *ClientAuth) UnmarshalYAML(value *yaml.Node) error
Click to show internal directories.
Click to hide internal directories.