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

Struct String

model/value.go:283–286  ·  view source on GitHub ↗

String is a string value evaluated at the set timestamp.

Source from the content-addressed store, hash-verified

281
282// String is a string value evaluated at the set timestamp.
283type String struct {
284 Value string `json:"value"`
285 Timestamp Time `json:"timestamp"`
286}
287
288func (s *String) String() string {
289 return s.Value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected