Documentation ¶
Overview ¶
Package provider provides TLS config for client & server.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TLSConfig ¶
type TLSConfig struct {
// contains filtered or unexported fields
}
TLSConfig provides client & server TLS configs for apid.
func NewTLSConfig ¶
NewTLSConfig builds provider from configuration and endpoints.
func (*TLSConfig) ClientConfig ¶
ClientConfig generates client-side tls.Config.
func (*TLSConfig) ServerConfig ¶
ServerConfig generates server-side tls.Config.
Click to show internal directories.
Click to hide internal directories.