package
0.0.0-20240811132321-117025e1dd22
Repository: https://github.com/stern-ritter/metrics-and-alerting-service.git
Documentation: pkg.go.dev

# Functions

NewDBStorage is constructor for creating a new DBStorage.
NewMemoryStorage is constructor for creating a new MemoryStorage.

# Structs

DBStorage is an implementation of Storage that uses a database.
MemoryStorage is an in-memory implementation of the Storage interface.
StorageState is the state of the in-memory implementation of the Storage interface.

# Interfaces

Storage defines an interface for a metrics storage.