MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / allKey

Function allKey

IceFireDB-PubSub/pkg/router/namespace.go:35–41  ·  view source on GitHub ↗
(arg []interface{})

Source from the content-addressed store, hash-verified

33}
34
35func allKey(arg []interface{}) []uint8 {
36 index := make([]uint8, len(arg)-1)
37 for k := range index {
38 index[k] = uint8(k + 1)
39 }
40 return index
41}
42
43func OddKey(arg []interface{}) []uint8 {
44 index := make([]uint8, (len(arg)-1)/2)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected