Documentation ¶
Index ¶
- Variables
- func BuildFileInfo() (info times.Timespec, err error)
- func BuildInfoString() string
- func BuildVersion() (version string)
- func MakeEnvKey(name string) (key string)
- func MakeEnvKeys(names ...string) (keys []string)
- func MakeFlagEnvKey(tag, name string) (actual string)
- func MakeFlagEnvKeys(tag, name string) (actual []string)
- func MakeFlagName(tag, name string) (actual string)
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // BinName is the name of the actual binary compiled BinName string = "" // BinHash is set at runtime with the shasum of the compiled binary BinHash string = "" // Release is a revision indicator such as a short git commit id Release string = "" // Version is the standard semantic versioning of this release Version string = "" // Summary is used on the command line and other cosmetic places Summary string = "" // EnvPrefix is used as a prefix to all CLI environment variables EnvPrefix string = "" // DefaultPort is the fallback port to open for connections DefaultPort = 3334 // DefaultListen is the fallback address to listen on DefaultListen = "" // SlugIntegrity is the expected hash of a Shasums file, without BinName // present (set by enjenv) SlugIntegrity = "" // SumsIntegrity is the expected hash of a Shasums file (set by enjenv) SumsIntegrity = "" // Hostname is set at runtime with the output of os.Hostname Hostname = "" )
View Source
var ( DirectoryIndexPageName = "~index" DefaultThemeLayoutName = "defaults" PartialThemeLayoutName = "partials" )
Functions ¶
func BuildFileInfo ¶
func BuildInfoString ¶
func BuildInfoString() string
func BuildVersion ¶
func BuildVersion() (version string)
func MakeEnvKey ¶
func MakeEnvKeys ¶
func MakeFlagEnvKey ¶ added in v0.1.0
func MakeFlagEnvKeys ¶ added in v0.1.0
func MakeFlagName ¶ added in v0.1.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.