Preliminary configuration support for webhook updates.
This commit is contained in:
parent
0dc85e5790
commit
38d35440b0
2 changed files with 18 additions and 0 deletions
|
|
@ -40,6 +40,17 @@ type System struct {
|
|||
TimeZone string `toml:"timezone"`
|
||||
}
|
||||
|
||||
type Service struct {
|
||||
Method string
|
||||
Webhook *Webhook
|
||||
}
|
||||
|
||||
type Webhook struct {
|
||||
URI string
|
||||
Port int
|
||||
Host string
|
||||
}
|
||||
|
||||
type Translations struct {
|
||||
BaseDir string `toml:"basedir"`
|
||||
Active []string `toml:"active"`
|
||||
|
|
|
|||
Loading…
Reference in a new issue