status

package
v0.1.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 20, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const ServiceName = "status"

ServiceName provides the Service Name for this package

Variables

This section is empty.

Functions

func Factory

func Factory(server gserver.GServer) any

Factory returns a factory of the service

Types

type Service

type Service struct {
	// contains filtered or unexported fields
}

Service defines the Status service

func (*Service) Close

func (s *Service) Close()

Close the subservices and it's resources

func (*Service) IsReady

func (s *Service) IsReady() bool

IsReady indicates that the service is ready to serve its end-points

func (*Service) Name

func (s *Service) Name() string

Name returns the service name

func (*Service) RegisterGRPC

func (s *Service) RegisterGRPC(r *grpc.Server)

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

func (*Service) Server

Server returns the server version.

func (*Service) Version

func (s *Service) Version(_ context.Context, _ *emptypb.Empty) (*pb.ServerVersion, error)

Version returns the server version.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL