1
0
Fork 0
mirror of https://github.com/TwiN/gatus.git synced 2024-12-14 11:58:04 +00:00
twin-gatus/storage/config.go

15 lines
334 B
Go
Raw Normal View History

2021-02-03 04:06:34 +00:00
package storage
2021-07-16 02:07:30 +00:00
// Config is the configuration for storage
2021-02-03 04:06:34 +00:00
type Config struct {
2021-02-21 00:00:54 +00:00
// File is the path of the file to use for persistence
2021-07-16 02:07:30 +00:00
// If blank, persistence is disabled
//
// XXX: Rename to path for v4.0.0
2021-02-03 04:06:34 +00:00
File string `yaml:"file"`
2021-07-16 02:07:30 +00:00
// Type of store
// If blank, uses the default in-memory store
Type Type `yaml:"type"`
2021-02-03 04:06:34 +00:00
}