Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsNotFound ¶
IsNotFound checks if a gRPC error has code NotFound.
func IsUnauthorized ¶
IsUnauthorized checks if a gRPC error has code Unauthenticated.
Types ¶
type GRPC ¶
type GRPC struct {
// contains filtered or unexported fields
}
GRPC provides gRPC metadata propagation for user identity.
func (*GRPC) Inject ¶
func (g *GRPC) Inject()
Inject reads gRPC incoming metadata and injects known keys into the Wool context.
func (*GRPC) OutgoingContext ¶
OutgoingContext returns a context with outgoing gRPC metadata populated from the Wool context keys.
Click to show internal directories.
Click to hide internal directories.