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

# Functions

ContextWithDatastore adds the handle and datastore in one step.
ContextWithHandle adds a placeholder to a context that will later be filled by the datastore.
FromContext reads the selected datastore out of a context.Context and returns nil if it does not exist.
MustFromContext reads the selected datastore out of a context.Context and panics if it does not exist.
SetInContext adds a datastore to the given context.
StreamServerInterceptor returns a new stream server interceptor that adds the datastore to the context.
UnaryServerInterceptor returns a new unary server interceptor that adds the datastore to the context.