Documentation ¶ Index ¶ func Bail(err error) func CryptoRandomToken(length int) string func GetBaseDirectory() string func MustParse(name string, tmpl string) *template.Template type Config func LoadConfig() *Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Bail ¶ func Bail(err error) func CryptoRandomToken ¶ func CryptoRandomToken(length int) string func GetBaseDirectory ¶ func GetBaseDirectory() string func MustParse ¶ func MustParse(name string, tmpl string) *template.Template Types ¶ type Config ¶ type Config struct { Port string `json:"port"` } func LoadConfig ¶ func LoadConfig() *Config Source Files ¶ View all Source files config.go dir.go lib.go Click to show internal directories. Click to hide internal directories.