Documentation ¶
Index ¶
Constants ¶
View Source
const ( // RUNTIME_ENV defines the name of the environment variable for runtime path RUNTIME_ENV = "ANGINE_RUNTIME" // DEFAULT_RUNTIME defines the default path for runtime path relative to $HOME DEFAULT_RUNTIME = ".angine" // DATADIR is the data dir in the runtime, basically you don't change this never DATADIR = "data" ARCHIVEDIR = "archive" // CONFIGFILE is the name of the configuration file name in the runtime path for angine CONFIGFILE = "config.toml" )
View Source
const CONFIGTPL = `` /* 273-byte string literal not displayed */
Variables ¶
This section is empty.
Functions ¶
func InitRuntime ¶
func InitRuntime(root string)
InitRuntime makes all the necessary directorys for angine's runtime and generate the config template for you if it is not there already
func RuntimeDir ¶
RuntimeDir determines where the runtime directory is : param > environment > default
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.