Documentation
¶
Index ¶
- Constants
- func Factory(server gserver.GServer) any
- type Service
- func (s *Service) Close()
- func (s *Service) IsReady() bool
- func (s *Service) Name() string
- func (s *Service) RegisterGRPC(r *grpc.Server)
- func (s *Service) RegisterRoute(r restserver.Router)
- func (s *Service) Server(_ context.Context, _ *emptypb.Empty) (*pb.ServerStatusResponse, error)
- func (s *Service) Version(_ context.Context, _ *emptypb.Empty) (*pb.ServerVersion, error)
Constants ¶
View Source
const ServiceName = "status"
ServiceName provides the Service Name for this package
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service defines the Status service
func (*Service) RegisterGRPC ¶
RegisterGRPC registers gRPC handler
func (*Service) RegisterRoute ¶
func (s *Service) RegisterRoute(r restserver.Router)
RegisterRoute adds the Status API endpoints to the overall URL router
Click to show internal directories.
Click to hide internal directories.