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

Function LockKey

pkg/redis/redis.go:707–709  ·  view source on GitHub ↗

LockKey returns the key lock for k is stored under.

(k string)

Source from the content-addressed store, hash-verified

705
706// LockKey returns the key lock for k is stored under.
707func LockKey(k string) string {
708 return Key(k, "lock")
709}
710
711// ListKey returns the key list for k is stored under.
712func ListKey(k string) string {

Callers 5

DeduplicateProtosFunction · 0.85
LockMutexFunction · 0.85
UnlockMutexFunction · 0.85
TestProtoDeduplicatorFunction · 0.85
TestMutexFunction · 0.85

Calls 1

KeyFunction · 0.85

Tested by 2

TestProtoDeduplicatorFunction · 0.68
TestMutexFunction · 0.68