Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ConfigFS embed.FS
Functions ¶
func LoadRevCatConfig ¶
func LoadRevCatConfig(fSys fs.FS, fp string, conf *RevCatConfig) error
func LoadZoomConfig ¶
func LoadZoomConfig(fSys fs.FS, fp string, conf *ZoomConfig) error
Types ¶
type ClientANDQuery ¶
type ClientANDQuery struct {
OR []ClientOrQuery `toml:"or"`
}
type ClientOrQuery ¶
type ElasticSearchConfig ¶
type RevCatConfig ¶
type RevCatConfig struct {
LocalAddr string `toml:"localaddr"`
ExternalAddr string `toml:"externaladdr"`
TLSCert string `toml:"tlscert"`
TLSKey string `toml:"tlskey"`
LogFile string `toml:"logfile"`
LogLevel string `toml:"loglevel"`
Badger string `toml:"badger"`
ElasticSearch ElasticSearchConfig `toml:"elasticsearch"`
Client []*Client `toml:"client"`
}
type ZoomConfig ¶
type ZoomConfig struct {
LogFile string `toml:"logfile"`
LogLevel string `toml:"loglevel"`
ElasticSearch ElasticSearchConfig `toml:"elasticsearch"`
Groups []string `toml:"groups"`
Client []*Client `toml:"client"`
ZoomImageHeight int `toml:"zoomimageheight"`
AspectRatio float64 `toml:"aspectratio"`
Mediaserver string `toml:"mediaserver"`
CollagePath string `toml:"collagepath"`
}
Click to show internal directories.
Click to hide internal directories.