grpc_health

package
v1.0.1-alpha Latest Latest
Warning

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

Go to latest
Published: Feb 8, 2016 License: BSD-3-Clause, Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package grpc_health is a generated protocol buffer package.

It is generated from these files:

health.proto

It has these top-level messages:

HealthCheckRequest
HealthCheckResponse

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterHealthCheckServer

func RegisterHealthCheckServer(s *grpc.Server, srv HealthCheckServer)

Types

type HealthCheckClient

type HealthCheckClient interface {
	Check(ctx context.Context, in *HealthCheckRequest, opts ...grpc.CallOption) (*HealthCheckResponse, error)
}

func NewHealthCheckClient

func NewHealthCheckClient(cc *grpc.ClientConn) HealthCheckClient

type HealthCheckRequest

type HealthCheckRequest struct {
}

func (*HealthCheckRequest) ProtoMessage

func (*HealthCheckRequest) ProtoMessage()

func (*HealthCheckRequest) Reset

func (m *HealthCheckRequest) Reset()

func (*HealthCheckRequest) String

func (m *HealthCheckRequest) String() string

type HealthCheckResponse

type HealthCheckResponse struct {
}

func (*HealthCheckResponse) ProtoMessage

func (*HealthCheckResponse) ProtoMessage()

func (*HealthCheckResponse) Reset

func (m *HealthCheckResponse) Reset()

func (*HealthCheckResponse) String

func (m *HealthCheckResponse) String() string

type HealthCheckServer

type HealthCheckServer interface {
	Check(context.Context, *HealthCheckRequest) (*HealthCheckResponse, error)
}

Jump to

Keyboard shortcuts

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