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

Function Push

IceFireDB-PubSub/test/proto/types.go:55–57  ·  view source on GitHub ↗

Push assembles the args for push-data. Args should be raw redis commands. Example: Push(String("foo"), String("bar"))

(args ...string)

Source from the content-addressed store, hash-verified

53// Push assembles the args for push-data. Args should be raw redis commands.
54// Example: Push(String("foo"), String("bar"))
55func Push(args ...string) string {
56 return fmt.Sprintf(">%d\r\n", len(args)) + strings.Join(args, "")
57}
58
59// Strings is a helper to build 1 dimensional string arrays.
60func Strings(args ...string) string {

Callers 1

TestTypesFunction · 0.70

Calls

no outgoing calls

Tested by 1

TestTypesFunction · 0.56