WIP: Firebase support

This commit is contained in:
Philipp Heckel 2021-10-28 23:50:38 -04:00
parent 28fb63b9ae
commit ad17be1683
5 changed files with 633 additions and 5 deletions

View file

@ -25,6 +25,7 @@ type Config struct {
ListenHTTP string
Limit rate.Limit
LimitBurst int
FirebaseKeyFile string
KeepaliveInterval time.Duration
ManagerInterval time.Duration
}
@ -35,6 +36,7 @@ func New(listenHTTP string) *Config {
ListenHTTP: listenHTTP,
Limit: defaultLimit,
LimitBurst: defaultLimitBurst,
FirebaseKeyFile: "",
KeepaliveInterval: DefaultKeepaliveInterval,
ManagerInterval: defaultManagerInterval,
}