mirror of
https://github.com/TwiN/gatus.git
synced 2024-11-24 17:04:42 +01:00
13 lines
295 B
Go
13 lines
295 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
|
|
File string `yaml:"file"`
|
|
|
|
// Type of store
|
|
// If blank, uses the default in-memory store
|
|
Type Type `yaml:"type"`
|
|
}
|