Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// contains filtered or unexported fields
}
Config uses session.Registry to generate tls.Config's dynamically for each session. E.g. some session will require client cert authentication.
func NewConfig ¶
NewConfig returns a new Config with a certificate or an error if the default certificate cannot be loaded.
func (*Config) GetDefaultConfig ¶
GetDefaultConfig returns the default tls.Config
Click to show internal directories.
Click to hide internal directories.