Documentation
¶
Overview ¶
Package conf is visor's ONE configuration reader. It replaces Beego's global AppConfig with a small, dependency-light loader: conf/app.conf is parsed once (ini format), each value's ${VAR||default} form is expanded against the environment exactly as Beego did, and lookups fall through env → file → built-in default. A direct process env var named for the key still wins, so a deployment overrides any setting without touching the file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfPath ¶ added in v1.108.15
func ConfPath() string
ConfPath returns the resolved app.conf path (or "" if none was found) — used by callers that log where config came from.
func GetConfigBool ¶
func GetConfigDataSourceName ¶
func GetConfigDataSourceName() string
func GetConfigString ¶
func GetLanguage ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.