Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterHealthServer ¶
func RegisterHealthServer(s *grpc.Server, srv HealthServer)
Types ¶
type HealthClient ¶
type HealthClient interface {
Health(ctx context.Context, in *types.Empty, opts ...grpc.CallOption) (*types.Empty, error)
}
HealthClient is the client API for Health service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewHealthClient ¶
func NewHealthClient(cc *grpc.ClientConn) HealthClient
type HealthServer ¶
HealthServer is the server API for Health service.
type UnimplementedHealthServer ¶ added in v1.8.7
type UnimplementedHealthServer struct { }
UnimplementedHealthServer can be embedded to have forward compatible implementations.
Click to show internal directories.
Click to hide internal directories.