Documentation
¶
Overview ¶
Package mock enables writing metric values to a mockdb for testing.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { // Accepted is a list of types that this mock db can record. // e.g int64, uint8, float64, etc. If left empty, the mock db will accept // all types. Accepted []string `yaml:"accepted"` }
Config represents the configuration of mock db.
func (*Config) UnmarshalYAML ¶
Click to show internal directories.
Click to hide internal directories.