MCPcopy Create free account
hub / github.com/dbProjectRED/redimo.go / xGroupCursorSet

Method xGroupCursorSet

streams.go:400–405  ·  view source on GitHub ↗
(key string, group string, start XID)

Source from the content-addressed store, hash-verified

398}
399
400func (c Client) xGroupCursorSet(key string, group string, start XID) error {
401 cursorKey := c.xGroupCursorKey(key, group)
402 _, err := c.HSET(cursorKey.pk, map[string]Value{cursorKey.sk: StringValue{start.String()}})
403
404 return err
405}
406
407func (c Client) xGroupCursorGet(key string, group string) (id XID, err error) {
408 resp, err := c.ddbClient.GetItemRequest(&dynamodb.GetItemInput{

Callers 1

XGROUPMethod · 0.95

Calls 3

xGroupCursorKeyMethod · 0.95
HSETMethod · 0.95
StringMethod · 0.45

Tested by

no test coverage detected