# Functions
AppPath returns the absolute path of the application's binary.
CheckRunUser returns false if configured run user does not match actual user that runs the app.
CustomDir returns the absolute path of the custom directory that contains local overrides.
HomeDir returns the home directory by reading environment variables.
Init initializes configuration from conf assets and given custom configuration file.
InitLogging initializes the logging service of the application.
IsProdMode returns true if the application is running in production mode.
IsWindowsRuntime returns true if the current runtime in Windows.
MustInit panics if configuration initialization failed.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
UserDefaultAvatarURLPath returns the URL path of the default user avatar.
WorkDir returns the absolute path of work directory.
# Constants
UsersAvatarPathPrefix is the path prefix to user avatars.
# Variables
Admin settings.
API settings.
Application settings.
Attachment settings.
Authentication settings.
Build time and commit information.
Build time and commit information.
Cache settings.
Cron tasks.
CustomConf returns the absolute path of custom configuration file that is used.
Database settings.
Email settings.
File is the configuration object.
Git settings.
HasMinWinSvc is whether the application is built with Windows Service support.
Global setting.
HookMode indicates whether program starts as Git server-side hook callback.
HTTP settings.
I18n settings.
LFS settings.
Log settings.
Markdown settings.
Mirror settings.
Other settings.
Picture settings.
Prometheus settings.
Release settings.
Repository settings.
Security settings.
Server settings.
Session settings.
Smartypants settings.
SSH settings.
Time settings.
UI settings.
Indicates which database backend is currently being used.
Indicates which database backend is currently being used.
Indicates which database backend is currently being used.
User settings.
Indicates which database backend is currently being used.
Webhook settings.
# Structs
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author