MCPcopy Create free account
hub / github.com/TheThingsNetwork/lorawan-stack / Key

Method Key

pkg/redis/redis.go:222–224  ·  view source on GitHub ↗

Key constructs the full key for entity identified by ks by prepending the configured namespace and joining ks using the default separator.

(ks ...string)

Source from the content-addressed store, hash-verified

220
221// Key constructs the full key for entity identified by ks by prepending the configured namespace and joining ks using the default separator.
222func (cl *Client) Key(ks ...string) string {
223 return Key(append([]string{cl.namespace}, ks...)...)
224}
225
226// ProtoCmd is a command, which can unmarshal its result into a protocol buffer.
227type ProtoCmd struct {

Callers

nothing calls this directly

Calls 1

KeyFunction · 0.85

Tested by

no test coverage detected