Documentation
¶
Index ¶
- func BuildGetStatusFunc(grpccli healthpb.HealthClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc
- func DecodeGetStatusResponse(ctx context.Context, v interface{}, hdr, trlr metadata.MD) (interface{}, error)
- func NewGetStatusResult(message *healthpb.GetStatusResponse) *health.HealthStatusResponse
- func NewProtoGetStatusRequest() *healthpb.GetStatusRequest
- func ValidateGetStatusResponse(message *healthpb.GetStatusResponse) (err error)
- func ValidateHealthStatus(message *healthpb.HealthStatus) (err error)
- type Client
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BuildGetStatusFunc ¶
func BuildGetStatusFunc(grpccli healthpb.HealthClient, cliopts ...grpc.CallOption) goagrpc.RemoteFunc
BuildGetStatusFunc builds the remote method to invoke for "health" service "GetStatus" endpoint.
func DecodeGetStatusResponse ¶
func DecodeGetStatusResponse(ctx context.Context, v interface{}, hdr, trlr metadata.MD) (interface{}, error)
DecodeGetStatusResponse decodes responses from the health GetStatus endpoint.
func NewGetStatusResult ¶
func NewGetStatusResult(message *healthpb.GetStatusResponse) *health.HealthStatusResponse
NewGetStatusResult builds the result type of the "GetStatus" endpoint of the "health" service from the gRPC response type.
func NewProtoGetStatusRequest ¶
func NewProtoGetStatusRequest() *healthpb.GetStatusRequest
NewProtoGetStatusRequest builds the gRPC request type from the payload of the "GetStatus" endpoint of the "health" service.
func ValidateGetStatusResponse ¶
func ValidateGetStatusResponse(message *healthpb.GetStatusResponse) (err error)
ValidateGetStatusResponse runs the validations defined on GetStatusResponse.
func ValidateHealthStatus ¶
func ValidateHealthStatus(message *healthpb.HealthStatus) (err error)
ValidateHealthStatus runs the validations defined on HealthStatus.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client lists the service endpoint gRPC clients.
func NewClient ¶
func NewClient(cc *grpc.ClientConn, opts ...grpc.CallOption) *Client
NewClient instantiates gRPC client for all the health service servers.