Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewServerCredentials ¶
func NewServerCredentials(certPath, keyPath, caPath string) (credentials.TransportCredentials, error)
NewServerCredentials loads TLS transport credentials for the GRPC server.
Types ¶
type HealthRPC ¶
type HealthRPC struct {
grpc_health_v1.UnimplementedHealthServer
}
Blueprint struct for db service and auth provider.
func (*HealthRPC) Check ¶
func (rpc *HealthRPC) Check(ctx context.Context, r *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
Check applies the logic to determine which variant to be applied to the given request.
type RPCInterface ¶
RPCInterface interface for RPC.
type RPCv2 ¶
type RPCv2 struct {
envoyAuthV2.UnimplementedAuthorizationServer
}
func (*RPCv2) Check ¶
func (rpc *RPCv2) Check(ctx context.Context, r *envoyAuthV2.CheckRequest) (*envoyAuthV2.CheckResponse, error)
type RPCv3 ¶
type RPCv3 struct {
envoyAuthV3.UnimplementedAuthorizationServer
}
func (*RPCv3) Check ¶
func (rpc *RPCv3) Check(ctx context.Context, r *envoyAuthV3.CheckRequest) (*envoyAuthV3.CheckResponse, error)
Click to show internal directories.
Click to hide internal directories.