Versions in this module Expand all Collapse all v0 v0.0.2 Sep 8, 2020 v0.0.1 Jul 3, 2020 Changes in this version + var Heartbeat_Status_name = map[int32]string + var Heartbeat_Status_value = map[string]int32 + func RegisterEchoServiceHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error + func RegisterEchoServiceHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error) + func RegisterEchoServiceServer(s *grpc.Server, srv EchoServiceServer) + type EchoRequest struct + Message string + func (*EchoRequest) Descriptor() ([]byte, []int) + func (*EchoRequest) ProtoMessage() + func (m *EchoRequest) GetMessage() string + func (m *EchoRequest) Reset() + func (m *EchoRequest) String() string + type EchoResponse struct + Message string + func (*EchoResponse) Descriptor() ([]byte, []int) + func (*EchoResponse) ProtoMessage() + func (m *EchoResponse) GetMessage() string + func (m *EchoResponse) Reset() + func (m *EchoResponse) String() string + type EchoServiceClient interface + Echo func(ctx context.Context, opts ...grpc.CallOption) (EchoService_EchoClient, error) + Heartbeats func(ctx context.Context, opts ...grpc.CallOption) (EchoService_HeartbeatsClient, error) + Stream func(ctx context.Context, in *Empty, opts ...grpc.CallOption) (EchoService_StreamClient, error) + func NewEchoServiceClient(cc *grpc.ClientConn) EchoServiceClient + type EchoServiceServer interface + Echo func(EchoService_EchoServer) error + Heartbeats func(EchoService_HeartbeatsServer) error + Stream func(*Empty, EchoService_StreamServer) error + type EchoService_EchoClient interface + Recv func() (*EchoResponse, error) + Send func(*EchoRequest) error + type EchoService_EchoServer interface + Recv func() (*EchoRequest, error) + Send func(*EchoResponse) error + type EchoService_HeartbeatsClient interface + Recv func() (*Heartbeat, error) + Send func(*Empty) error + type EchoService_HeartbeatsServer interface + Recv func() (*Empty, error) + Send func(*Heartbeat) error + type EchoService_StreamClient interface + Recv func() (*EchoResponse, error) + type EchoService_StreamServer interface + Send func(*EchoResponse) error + type Empty struct + func (*Empty) Descriptor() ([]byte, []int) + func (*Empty) ProtoMessage() + func (m *Empty) Reset() + func (m *Empty) String() string + type Heartbeat struct + Status Heartbeat_Status + func (*Heartbeat) Descriptor() ([]byte, []int) + func (*Heartbeat) ProtoMessage() + func (m *Heartbeat) GetStatus() Heartbeat_Status + func (m *Heartbeat) Reset() + func (m *Heartbeat) String() string + type Heartbeat_Status int32 + const Heartbeat_OK + const Heartbeat_UNKNOWN + func (Heartbeat_Status) EnumDescriptor() ([]byte, []int) + func (x Heartbeat_Status) String() string