config

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2020 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizeDir added in v0.0.8

func SanitizeDir(dirs ...string) (string, error)

SanitizeDir allows a directory source to be set from multiple values. If any value is defined, that value is used. If none are defined, the current working directory is retrieved.

Types

type Flags

type Flags struct {
	Debug     bool
	Host      string
	Port      string
	EnableSSL bool
	CertFile  string
	KeyFile   string
	Directory string
	UsersFile string
}

Flags are the expose configuration flags available to the serve binary.

Jump to

Keyboard shortcuts

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