Documentation
¶
Index ¶
- Constants
- Variables
- func AppName() string
- func LogLevel() string
- func New(path string) error
- func OwnerName() string
- func ServerCacheMaxAge() int
- func ServerCertFile() string
- func ServerChooseIP() bool
- func ServerCmdEnable() bool
- func ServerHost() string
- func ServerIP() string
- func ServerKeyFile() string
- func ServerPort() string
- func ServerRootCA() string
- func ServerSecure() bool
- func ServerShutdownCode() int
Constants ¶
View Source
const (
DefaultConfigPath = "$HOME/.koch/config/"
)
Variables ¶
View Source
var ErrInvalidConfig = errors.New("invalid config")
ErrInvalidConfig indicates that the config file is invalid
Functions ¶
func ServerCacheMaxAge ¶
func ServerCacheMaxAge() int
func ServerCertFile ¶
func ServerCertFile() string
func ServerChooseIP ¶
func ServerChooseIP() bool
func ServerCmdEnable ¶
func ServerCmdEnable() bool
func ServerHost ¶
func ServerHost() string
func ServerKeyFile ¶
func ServerKeyFile() string
func ServerPort ¶
func ServerPort() string
func ServerRootCA ¶
func ServerRootCA() string
func ServerSecure ¶
func ServerSecure() bool
func ServerShutdownCode ¶
func ServerShutdownCode() int
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.