MCPcopy
hub / github.com/google/mtail / String

Struct String

internal/metrics/datum/string.go:14–18  ·  view source on GitHub ↗

String describes a string value at a given timestamp.

Source from the content-addressed store, hash-verified

12
13// String describes a string value at a given timestamp.
14type String struct {
15 BaseDatum
16 mu sync.RWMutex
17 Value string
18}
19
20// Set sets the value of the String to the value at timestamp.
21func (d *String) Set(value string, timestamp time.Time) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected