Documentation
¶
Index ¶
- type MemStorage
- func (s *MemStorage) GetAllMetricsNew(ctx context.Context) ([]*metrics.Metric, error)
- func (s *MemStorage) GetValue(ctx context.Context, t string, n string) (any, error)
- func (s *MemStorage) Ping(ctx context.Context) error
- func (s *MemStorage) Update(ctx context.Context, t string, n string, v string) error
- func (s *MemStorage) UpdateBatch(ctx context.Context, m []metrics.Metric) error
- func (s *MemStorage) UpdateNew(ctx context.Context, t string, n string, delta *int64, value *float64) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MemStorage ¶
func NewMemStorage ¶
func NewMemStorage() MemStorage
func (*MemStorage) GetAllMetricsNew ¶
func (*MemStorage) UpdateBatch ¶
Click to show internal directories.
Click to hide internal directories.