container

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 8, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Metrics added in v0.1.3

type Metrics struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

Metrics - Metrics in JSON format

func NewMetrics added in v0.1.3

func NewMetrics() *Metrics

NewMetrics - New instance of metrics in JSON format

func (*Metrics) Get added in v0.1.3

func (m *Metrics) Get(key string) *encoding.JSON

Get - Gets the value at the specified path

func (*Metrics) JSON added in v0.1.3

func (m *Metrics) JSON() *encoding.JSON

JSON - Represents data in JSON format

func (*Metrics) Set added in v0.1.3

func (m *Metrics) Set(path string, value any) error

Set - Sets the value at the specified path

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL