env

package
v0.0.0-...-18b418f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

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 GetTmpDir

func GetTmpDir() string

func GetUIPath

func GetUIPath() string

func GetWorkerCount

func GetWorkerCount() int

func ReadConfig

func ReadConfig(configName string) (map[string]any, error)

func ReadTypesConfig

func ReadTypesConfig(target any) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL