Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EmptyhealthCheckHandler ¶ added in v0.3.1
Types ¶
type GrpcHelthCheckClient ¶ added in v0.3.2
type GrpcHelthCheckClient struct {
// contains filtered or unexported fields
}
func NewGrpcServerHelthCheckClient ¶ added in v0.3.1
func NewGrpcServerHelthCheckClient(host string) (*GrpcHelthCheckClient, error)
func (*GrpcHelthCheckClient) Check ¶ added in v0.3.2
func (c *GrpcHelthCheckClient) Check(ctx context.Context, name string) (healthpb.HealthCheckResponse_ServingStatus, error)
func (*GrpcHelthCheckClient) Close ¶ added in v0.3.2
func (c *GrpcHelthCheckClient) Close()
type GrpcServerInfo ¶ added in v0.3.1
type GrpcServerInfo struct { svcmeta.UnimplementedGrpcMetadataServer // contains filtered or unexported fields }
func NewGrpcServerInfo ¶ added in v0.3.1
func NewGrpcServerInfo(svc *GrpcService) *GrpcServerInfo
func (*GrpcServerInfo) Metadata ¶ added in v0.3.2
func (g *GrpcServerInfo) Metadata(ctx context.Context, req *svcmeta.GrpcMetadataRequest) (*svcmeta.GrpcMetadataReply, error)
type GrpcServerInfoClient ¶ added in v0.3.1
type GrpcServerInfoClient struct {
// contains filtered or unexported fields
}
func NewGrpcServerInfoClient ¶ added in v0.3.1
func NewGrpcServerInfoClient(host string) (*GrpcServerInfoClient, error)
func (*GrpcServerInfoClient) Close ¶ added in v0.3.1
func (c *GrpcServerInfoClient) Close()
func (*GrpcServerInfoClient) Info ¶ added in v0.3.1
func (c *GrpcServerInfoClient) Info(ctx context.Context, in *svcmeta.GrpcMetadataRequest) ([]*svcmeta.GrpcServerMetadata, error)
type GrpcService ¶ added in v0.3.1
type GrpcService struct { *Service // contains filtered or unexported fields }
func NewGrpcService ¶ added in v0.3.2
func (*GrpcService) Dispose ¶ added in v0.3.1
func (sh *GrpcService) Dispose()
func (*GrpcService) Info ¶ added in v0.3.1
func (sh *GrpcService) Info() map[string]string
func (*GrpcService) Serve ¶ added in v0.3.1
func (sh *GrpcService) Serve() error
type HeadlessService ¶ added in v0.3.1
type HeadlessService struct { *Service // contains filtered or unexported fields }
func NewHeadlessService ¶ added in v0.3.1
func (HeadlessService) Serve ¶ added in v0.3.1
func (s HeadlessService) Serve() error
type HttpService ¶ added in v0.3.1
type HttpService struct { *Service // contains filtered or unexported fields }
func NewHttpService ¶ added in v0.3.1
func (*HttpService) Serve ¶ added in v0.3.1
func (sh *HttpService) Serve() error
Source Files ¶
Click to show internal directories.
Click to hide internal directories.