Documentation ¶
Index ¶
- func DetachUi() bool
- func GetAppRootDir() string
- func GetCachesRoot() string
- func GetConfigName() string
- func GetConfigPath() string
- func GetCoreApiKey() string
- func GetHostURL() string
- func GetLogLevel() int
- func GetMediaRoot() string
- func GetMongoDBName() string
- func GetMongoURI() string
- func GetRouterPort() 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 GetCoreApiKey ¶
func GetCoreApiKey() string
func GetHostURL ¶
func GetHostURL() string
func GetLogLevel ¶
func GetLogLevel() int
func GetMediaRoot ¶
func GetMediaRoot() string
func GetMongoDBName ¶
func GetMongoDBName() string
func GetMongoURI ¶
func GetMongoURI() string
func GetRouterPort ¶
func GetRouterPort() string
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.