Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BuiltinListeners = map[string]ListenerFactory{
"tcp": tcpListenerFactory,
}
BuiltinListeners is the list of built-in listener types.
Functions ¶
Types ¶
type Config ¶
type Config struct { Listeners []*Listener `hcl:"-"` Backend *Backend `hcl:"-"` StatsiteAddr string `hcl:"statsite_addr"` StatsdAddr string `hcl:"statsd_addr"` }
Config is the configuration for the vault server.
func LoadConfig ¶
LoadConfig loads the configuration at the given path, regardless if its a file or directory.
func LoadConfigDir ¶
LoadConfigDir loads all the configurations in the given directory in alphabetical order.
func LoadConfigFile ¶
LoadConfigFile loads the configuration from the given file.
Click to show internal directories.
Click to hide internal directories.