Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Certificates ¶
func Certificates() []tls.Certificate
Certificates returns an array of all configured domain certificates.
func HostNames ¶ added in v0.3.3
func HostNames() []string
HostNames returns current registered domain names.
func Initialize ¶
func Initialize(configurations []Config)
Initialize initializes host manager sub system.
func IsLocalHost ¶
IsLocalHost returns true if domain is a local server domain.
Types ¶
type Config ¶
type Config struct { Name string Certificate tls.Certificate }
Config represents a host configuration.
func (*Config) UnmarshalYAML ¶
UnmarshalYAML satisfies Unmarshaler interface.
Click to show internal directories.
Click to hide internal directories.