Documentation ¶
Index ¶
- func DetachUi() bool
- func GetAppRootDir() string
- func GetCachesRoot() string
- func GetConfigName() string
- func GetConfigPath() string
- func GetDataRoot(configName ...string) string
- func GetLogFile(configName string) string
- func GetLogLevel(configName string) int
- func GetMongoDBName(configName ...string) string
- func GetMongoURI(configName ...string) string
- func GetProxyAddress() string
- func GetRouterHost(configName ...string) string
- func GetRouterPort(configName ...string) string
- func GetTestMediaPath() string
- func GetThumbsDir() string
- func GetTmpDir() string
- func GetUIPath() string
- func GetWorkerCount() int
- func ReadConfig(configName string) (map[string]any, error)
- func ReadTypesConfig(target any) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetachUi ¶
func DetachUi() bool
DetachUi Controls if we host UI comm on this server. UI can be hosted elsewhere and must proxy any /api/* requests back to this server
func GetAppRootDir ¶
func GetAppRootDir() string
func GetCachesRoot ¶
func GetCachesRoot() string
func GetConfigName ¶
func GetConfigName() string
func GetConfigPath ¶
func GetConfigPath() string
func GetDataRoot ¶
func GetLogFile ¶
func GetLogLevel ¶
func GetMongoDBName ¶
func GetMongoURI ¶
func GetProxyAddress ¶
func GetProxyAddress() string
func GetRouterHost ¶
func GetRouterPort ¶
func GetTestMediaPath ¶
func GetTestMediaPath() string
func GetThumbsDir ¶
func GetThumbsDir() string
GetThumbsDir Returns the path of the directory for storing cached files. This includes photo thumbnails, temp uploaded files, and zip files.
func GetWorkerCount ¶
func GetWorkerCount() int
func ReadTypesConfig ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.