MCPcopy
hub / github.com/redis/go-redis / XAdd

Method XAdd

stream_commands.go:40–40  ·  view source on GitHub ↗
(ctx context.Context, a *XAddArgs)

Source from the content-addressed store, hash-verified

38
39type StreamCmdable interface {
40 XAdd(ctx context.Context, a *XAddArgs) *StringCmd
41 XAckDel(ctx context.Context, stream string, group string, mode string, ids ...string) *SliceCmd
42 XDel(ctx context.Context, stream string, ids ...string) *IntCmd
43 XDelEx(ctx context.Context, stream string, mode string, ids ...string) *SliceCmd

Callers 11

commands_test.goFile · 0.65
BenchmarkXReadFunction · 0.65
TestXAdd_TrimLimitArgsFunction · 0.65
ExampleClient_xaddFunction · 0.65
ExampleClient_raceusaFunction · 0.65
ExampleClient_xgroupreadFunction · 0.65
ExampleClient_raceitalyFunction · 0.65
ExampleClient_xdelFunction · 0.65

Calls

no outgoing calls

Tested by 10

BenchmarkXReadFunction · 0.52
TestXAdd_TrimLimitArgsFunction · 0.52
ExampleClient_xaddFunction · 0.52
ExampleClient_raceusaFunction · 0.52
ExampleClient_xgroupreadFunction · 0.52
ExampleClient_raceitalyFunction · 0.52
ExampleClient_xdelFunction · 0.52