MCPcopy Create free account
hub / github.com/prometheus/common / String

Struct String

model/value.go:261–264  ·  view source on GitHub ↗

String is a string value evaluated at the set timestamp.

Source from the content-addressed store, hash-verified

259
260// String is a string value evaluated at the set timestamp.
261type String struct {
262 Value string `json:"value"`
263 Timestamp Time `json:"timestamp"`
264}
265
266func (s *String) String() string {
267 return s.Value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected