package
Version:
v0.0.0-...-2ed13ab
Opens a new window with list of versions in this module.
Published: Jan 13, 2022
License: Apache-2.0
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type API struct {
HTTP []*Endpoint `yaml:"http"`
}
type Config struct {
API API `yaml:"api"`
Plugins Plugins `yaml:"plugins"`
WEB WEB `yaml:"web"`
}
type Endpoint struct {
Address string `yaml:"address"`
}
type ORM struct {
Debug bool `yaml:"debug"`
}
type Plugins struct {
SailHome SailHome `yaml:"sailhome"`
Prometheus Prometheus `yaml:"prometheus"`
}
type Prometheus struct {
Path string `yaml:"path"`
ListenAddress string `yaml:"listen_address"`
}
type SailHome struct {
DBSelect string `yaml:"db_select"`
SQLite string `yaml:"sqlite"`
PostgreSQL string `yaml:"postgresql"`
}
type WEB struct {
ORM ORM `yaml:"orm"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.