Documentation ¶
Index ¶
- func RegisterTestServer(s *grpc.Server, srv TestServer)
- type TestClient
- type TestServer
- type Void
- func (*Void) Descriptor() ([]byte, []int)
- func (*Void) ProtoMessage()
- func (m *Void) Reset()
- func (m *Void) String() string
- func (m *Void) XXX_DiscardUnknown()
- func (m *Void) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Void) XXX_Merge(src proto.Message)
- func (m *Void) XXX_Size() int
- func (m *Void) XXX_Unmarshal(b []byte) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTestServer ¶
func RegisterTestServer(s *grpc.Server, srv TestServer)
Types ¶
type TestClient ¶
type TestClient interface {
Ping(ctx context.Context, in *Void, opts ...grpc.CallOption) (*Void, error)
}
TestClient is the client API for Test service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTestClient ¶
func NewTestClient(cc *grpc.ClientConn) TestClient
type TestServer ¶
TestServer is the server API for Test service.
type Void ¶
type Void struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*Void) Descriptor ¶
func (*Void) ProtoMessage ¶
func (*Void) ProtoMessage()
func (*Void) XXX_DiscardUnknown ¶ added in v1.0.0
func (m *Void) XXX_DiscardUnknown()
func (*Void) XXX_Marshal ¶ added in v1.0.0
func (*Void) XXX_Unmarshal ¶ added in v1.0.0
Click to show internal directories.
Click to hide internal directories.