Wire up setting to enable/disable logtail

This commit is contained in:
Kristoffer Dalby 2022-05-30 14:47:41 +02:00
parent 405de9e0f8
commit a0c465c2eb
3 changed files with 28 additions and 0 deletions

6
app.go
View file

@ -112,6 +112,8 @@ type Config struct {
OIDC OIDCConfig
LogTail LogTailConfig
CLI CLIConfig
}
@ -138,6 +140,10 @@ type DERPConfig struct {
UpdateFrequency time.Duration
}
type LogTailConfig struct {
Enabled bool
}
type CLIConfig struct {
Address string
APIKey string