Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsRunningInDebug ¶ added in v1.4.2
func IsRunningInDebug() bool
func IsRunningInProduction ¶ added in v1.4.2
func IsRunningInProduction() bool
Types ¶
type Config ¶
type Config struct { ServiceBindAddress string ServiceBindHost string ServicePort int ServiceKey string TLSRootCert string TLSCert string TLSKey string LoversEar string Interval int APIKeys []string AdminKeys []string }
func DefaultConfig ¶
func DefaultConfig() *Config
func ParseConfig ¶
Click to show internal directories.
Click to hide internal directories.