container

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 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 json格式指标

func NewMetrics added in v0.1.3

func NewMetrics() *Metrics

NewMetrics json格式指标

func (*Metrics) Get added in v0.1.3

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

Get 获得path的value

func (*Metrics) JSON added in v0.1.3

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

JSON json格式指标

func (*Metrics) Set added in v0.1.3

func (m *Metrics) Set(path string, value interface{}) error

Set 设置path的value

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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