config

package
v0.0.0-...-5a221c6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 16, 2022 License: MIT Imports: 4 Imported by: 0

Documentation

Index

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 AppName

func AppName() string

func LogLevel

func LogLevel() string

func New

func New(path string) error

func OwnerName

func OwnerName() string

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 ServerIP

func ServerIP() 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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL