package
1.40.0
Repository: https://github.com/authzed/spicedb.git
Documentation: pkg.go.dev

# Functions

Decode converts an encoded cursor to its decoded version.
DecodeToDispatchCursor decodes an encoded API cursor into an internal dispatching cursor, ensuring that the provided call context matches that encoded into the API cursor.
DecodeToDispatchRevision decodes an encoded API cursor into an internal dispatch revision.
Encode converts a decoded cursor to its opaque version.
EncodeFromDispatchCursor encodes an internal dispatching cursor into a V1 cursor for external consumption, including the provided call context to ensure the API cursor reflects the calling API method.
GetCursorFlag retrieves a flag from an encoded API cursor, if any.
NewInvalidCursorErr creates and returns a new invalid cursor error.

# Variables

ErrHashMismatch is returned as the base error when a mismatching hash was given to the decoder.
ErrNilCursor is returned as the base error when nil is provided as the cursor argument to Decode.

# Structs

InvalidCursorError occurs when a cursor could not be decoded.