summaryrefslogtreecommitdiff
path: root/plugins/kv/memory/config.go
blob: 0816f734f78a2b44cde6e44170523e1dbadc76ba (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
package memory

// Config is default config for the in-memory driver
type Config struct {
	// Enabled or disabled (true or false)
	Enabled bool
	// Interval for the check
	Interval int
}

// InitDefaults by default driver is turned off
func (c *Config) InitDefaults() {
	c.Enabled = false
	c.Interval = 60 // seconds
}