Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthorizationServer ¶
AuthorizationServer is the simple authorization server.
func (*AuthorizationServer) Check ¶
func (a *AuthorizationServer) Check(ctx context.Context, req *auth.CheckRequest) (*auth.CheckResponse, error)
Check check the token and set header to the response.
type HealthServer ¶
type HealthServer struct{}
HealthServer is the health server.
func (*HealthServer) Check ¶
func (s *HealthServer) Check(ctx context.Context, in *healthpb.HealthCheckRequest) (*healthpb.HealthCheckResponse, error)
Check check the health.
func (*HealthServer) Watch ¶
func (s *HealthServer) Watch(in *healthpb.HealthCheckRequest, srv healthpb.Health_WatchServer) error
Watch is not implemented yet.
Click to show internal directories.
Click to hide internal directories.