package
0.0.30
Repository: https://github.com/dbunion/com.git
Documentation: pkg.go.dev

# Functions

FakeAuthStreamInterceptor fake interceptor to test plugin.
FakeAuthUnaryInterceptor fake interceptor to test plugin.
GetAuthenticator returns an AuthPlugin by name, or log.Fatalf.
NewRPCServer create the gRPC server we will be using.
RegisterAuthPlugin registers an implementation of AuthServer.
WrapServerStream returns a ServerStream that has the ability to overwrite context.

# Variables

DefaultConfig - rpc default config.

# Structs

InterceptorBuilder chains together multiple ServerInterceptors.
Server - rpc server.
StaticAuthConfigEntry is the container for server side credentials.
StaticAuthPlugin implements static username/password authentication for grpc.
WrappedServerStream is based on the service stream wrapper from: https://github.com/grpc-ecosystem/go-grpc-middleware.

# Interfaces

Authenticator provides an interface to implement auth in Vitess in grpc server.