mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-28 19:03:24 +01:00
15 lines
334 B
Go
15 lines
334 B
Go
package storage
|
|
|
|
// Config is the configuration for storage
|
|
type Config struct {
|
|
// File is the path of the file to use for persistence
|
|
// If blank, persistence is disabled
|
|
//
|
|
// XXX: Rename to path for v4.0.0
|
|
File string `yaml:"file"`
|
|
|
|
// Type of store
|
|
// If blank, uses the default in-memory store
|
|
Type Type `yaml:"type"`
|
|
}
|