MCPcopy
hub / github.com/grafana/dskit / Tokens

TypeAlias Tokens

ring/tokens.go:13–13  ·  view source on GitHub ↗

Tokens is a simple list of tokens.

Source from the content-addressed store, hash-verified

11
12// Tokens is a simple list of tokens.
13type Tokens []uint32
14
15func (t Tokens) Len() int { return len(t) }
16func (t Tokens) Swap(i, j int) { t[i], t[j] = t[j], t[i] }

Calls

no outgoing calls

Tested by

no test coverage detected