Documentation ¶
Index ¶
Constants ¶
View Source
const ( // EnvInitLogLevel key. eg: export KITE_INIT_LOG=debug EnvInitLogLevel = "KITE_INIT_LOG" // EnvKiteVerbose level. EnvKiteVerbose = "KITE_VERBOSE" // EnvKiteBaseDir for override the KiteDefaultBaseDir EnvKiteBaseDir = "KITE_BASE_DIR" // EnvKiteConfig main config file env name EnvKiteConfig = "KITE_CONFIG_FILE" EnvKiteDotEnv = "KITE_DOTENV_FILE" DotEnvFileName = ".env" // KiteConfigName default main config filename KiteConfigName = "kite.yml" // KiteDefaultBaseDir path for: config, tmp and more KiteDefaultBaseDir = "~/.kite-go" // AppName for the application AppName = "kite" // ConfKeyApp name on config ConfKeyApp = "app" )
View Source
const ( Nl = "NL" Space = "SPACE" TAB = "TAB" )
some special chars name
View Source
const ( OnBeforeBoot = "app.boot.before" OnAfterBoot = "app.boot.after" OnBeforeConfig = "app.config.before" OnAfterConfig = "app.config.after" OnBeforeConsole = "app.console.before" OnAfterConsole = "app.console.after" OnBeforeRoute = "app.route.before" OnAfterRoute = "app.route.after" )
Some app event names
View Source
const (
VarFormat = "{,}"
)
Variables ¶
View Source
var ( Timezone = "PRC" DateFormat = "2006/01/02 15:04:05.000" )
View Source
var ( // StdinAliases list StdinAliases = []string{"@i", "@si", "@stdin", "stdin"} // StdoutAliases list StdoutAliases = []string{"@o", "@so", "@stdout", "stdout"} // ClipAliases list ClipAliases = []string{"@c", "@cb", "@clip", "@clipboard", "clipboard"} )
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.