Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Hops ¶ added in v0.2.0
type Hops []string // IDs of the platform-health servers that have been visited
func HopsFromContext ¶ added in v0.2.0
type Option ¶
type Option func(*PlatformHealthServer)
func WithHealthService ¶
func WithHealthService() Option
func WithReflection ¶
func WithReflection() Option
type PlatformHealthServer ¶
type PlatformHealthServer struct { ph.UnimplementedHealthServer Config provider.Config // contains filtered or unexported fields }
func NewPlatformHealthServer ¶
func (*PlatformHealthServer) Check ¶
func (s *PlatformHealthServer) Check(ctx context.Context, req *ph.HealthCheckRequest) (*ph.HealthCheckResponse, error)
func (*PlatformHealthServer) Stop ¶
func (s *PlatformHealthServer) Stop()
Click to show internal directories.
Click to hide internal directories.