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 Client ¶
type Client struct { Name string `toml:"name"` Apikey string `toml:"apikey"` JWTSecret string `toml:"jwtsecret"` Groups []string `toml:"groups"` AND []ClientANDQuery `toml:"and"` }
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.