Documentation
¶
Overview ¶
Package setting exposes process-level configuration helpers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetCDNURL ¶ added in v0.1.1
func GetCDNURL() string
GetCDNURL returns the configured CDN base URL.
func GetRunTime ¶
GetRunTime returns the duration since application startup.
func GetUnitTime ¶
GetUnitTime returns the duration since the previous GetUnitTime call.
func IsLocal ¶ added in v0.0.9
func IsLocal() bool
IsLocal reports whether the application runs in local development mode.
func IsProduction ¶
func IsProduction() bool
IsProduction reports whether the application runs in production mode.
func UseMigration ¶
func UseMigration() bool
UseMigration reports whether database migrations are enabled.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.