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

# Functions

ContextWithHandle adds a placeholder to a context that will later be filled by the dispatcher.
FromContext reads the selected dispatcher out of a context.Context and returns nil if it does not exist.
MustFromContext reads the selected dispatcher out of a context.Context, computes a zedtoken from it, and panics if it has not been set on the context.
SetInContext adds a dispatcher to the given context.
StreamServerInterceptor returns a new stream server interceptor that adds the dispatcher to the context.
UnaryServerInterceptor returns a new unary server interceptor that adds the dispatcher to the context.