Documentation ¶
Index ¶
Constants ¶
View Source
const (
SQLiteBackendType = "sqlite"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { Address string `toml:"address"` Port int `toml:"port"` WSPort int `toml:"ws_port"` BackendType string `toml:"backend_type"` Domain string `toml:"domain"` SQLite SQLiteBackendConfig `toml:"sqlite"` UploadPath string `toml:"upload_path"` }
func ParseConfig ¶
type SQLiteBackendConfig ¶
type SQLiteBackendConfig struct {
Path string `toml:"path"`
}
Click to show internal directories.
Click to hide internal directories.