Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Admin ¶ added in v1.2.0
type Admin struct {
Host string
Port uint
DatabaseMaxIdle int
DatabaseMaxConnections int
RedisMaxIdle int
RedisMaxConnections int
}
Admin sets what the daemon listens on
type CORS ¶ added in v1.2.0
type CORS struct {
Sites []string
}
CORS is a list of allowed remote addresses
type Config ¶
type Config struct {
Admin Admin
Directories Directories
CORS CORS
Database Database
Redis Redis
Session Session
}
Config represents the possible configurable parameters for the local daemon
var Settings *Config
Settings holds the current config options
type Directories ¶ added in v1.2.0
Directories sets where files will be stored locally
Click to show internal directories.
Click to hide internal directories.