Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
func RegisterService(s grpc.ServiceRegistrar, service *Service)
RegisterService registers the service on the gRPC server.
Types ¶
type Config ¶
type Config struct { TrustDomain spiffeid.TrustDomain DataStore datastore.DataStore }
Config is the service configuration
type Service ¶
type Service struct { grpc_health_v1.UnimplementedHealthServer // contains filtered or unexported fields }
Service implements the v1 Health service
func (*Service) Check ¶
func (s *Service) Check(ctx context.Context, req *grpc_health_v1.HealthCheckRequest) (*grpc_health_v1.HealthCheckResponse, error)
Click to show internal directories.
Click to hide internal directories.