package
0.0.0-20200325063600-cd938e1c8ce7
Repository: https://github.com/chen56/go-common.git
Documentation: pkg.go.dev
# Functions
AuthFromMD is a helper function for extracting the :authorization header from the gRPC metadata of the request.
StreamServerInterceptor returns a new unary server interceptors that performs per-request auth.
UnaryServerInterceptor returns a new unary server interceptors that performs per-request auth.
# Interfaces
ServiceAuthFuncOverride allows a given gRPC service implementation to override the global `AuthFunc`.
# Type aliases
AuthFunc is the pluggable function that performs authentication.