Documentation
¶
Overview ¶
Package parallel implements experimental utilities for performing parallel client interactions with the Authzed API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllChecksAreMember ¶
func AllChecksAreMember(resps []*v0.CheckResponse) bool
AllChecksAreMember returns true if every provided CheckResponse has membership.
func Check ¶
func Check(ctx context.Context, client v0.ACLServiceClient, in []*v0.CheckRequest, opts ...grpc.CallOption) ([]*v0.CheckResponse, error)
Check performs the provided list of CheckRequests in parallel and returns a slice of responses that are stored at their respective indices.
func ContentChangeCheck ¶
func ContentChangeCheck(ctx context.Context, client v0.ACLServiceClient, in []*v0.ContentChangeCheckRequest, opts ...grpc.CallOption) ([]*v0.CheckResponse, error)
ContentChangeCheck performs the provided list of ContentChangeCheckRequests in parallel and returns a slice of responses that are stored at their respective indices.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.