Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MtlsClientCertFunc ¶
func MtlsClientCertFunc(ctx context.Context) (*x509.Certificate, error)
Types ¶
type GrpcAuth ¶
func NewGrpcAuth ¶
func NewGrpcAuth(config *auth.AuthConfig) *GrpcAuth
func (*GrpcAuth) Interceptor ¶
func (a *GrpcAuth) Interceptor(ctx context.Context, req interface{}, info *grpc.UnaryServerInfo, handler grpc.UnaryHandler) (interface{}, error)
func (*GrpcAuth) StreamInterceptor ¶
func (a *GrpcAuth) StreamInterceptor(srv interface{}, stream grpc.ServerStream, info *grpc.StreamServerInfo, handler grpc.StreamHandler) error
Click to show internal directories.
Click to hide internal directories.