Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Basedir string `json:"basedir" yaml:"basedir"` Servers []*Server `json:"servers" yaml:"servers"` Logging *Logging `json:"logging" yaml:"logging"` Storage *Storage `json:"storage" yaml:"storage"` Plugins []*Plugin `json:"plugins" yaml:"plugins"` Accounts []*Account `json:"accounts" yaml:"accounts"` Database *Database `json:"database" yaml:"database"` }
type Database ¶
type Database struct { Engine string `json:"engine" yaml:"engine"` Config *DatabaseConfig `json:"config" yaml:"config"` }
type DatabaseConfig ¶
type DatabaseConfig struct { Path string `json:"path,omitempty" yaml:"path"` Host string `json:"host,omitempty" yaml:"host"` Port string `json:"port,omitempty" yaml:"port"` Database string `json:"database,omitempty" yaml:"database"` Username string `json:"username,omitempty" yaml:"username"` Password string `json:"password,omitempty" yaml:"password"` }
type Plugin ¶
type Plugin struct { Plugin string `json:"engine" yaml:"engine"` Config PluginConfig `json:"config" yaml:"config"` }
type PluginConfig ¶
type PluginConfig = any
type Storage ¶
type Storage struct { Cache *StorageBackend `json:"cache" yaml:"cache"` Media *StorageBackend `json:"media" yaml:"media"` }
type StorageBackend ¶
Click to show internal directories.
Click to hide internal directories.