Documentation ¶
Index ¶
- func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer)
- type TestMessage
- func (*TestMessage) Descriptor() ([]byte, []int)
- func (m *TestMessage) GetTest() string
- func (*TestMessage) ProtoMessage()
- func (m *TestMessage) Reset()
- func (m *TestMessage) String() string
- func (m *TestMessage) XXX_DiscardUnknown()
- func (m *TestMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TestMessage) XXX_Merge(src proto.Message)
- func (m *TestMessage) XXX_Size() int
- func (m *TestMessage) XXX_Unmarshal(b []byte) error
- type TestServiceClient
- type TestServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTestServiceServer ¶
func RegisterTestServiceServer(s *grpc.Server, srv TestServiceServer)
Types ¶
type TestMessage ¶
type TestMessage struct { Test string `protobuf:"bytes,1,opt,name=test,proto3" json:"test,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TestMessage) Descriptor ¶
func (*TestMessage) Descriptor() ([]byte, []int)
func (*TestMessage) GetTest ¶
func (m *TestMessage) GetTest() string
func (*TestMessage) ProtoMessage ¶
func (*TestMessage) ProtoMessage()
func (*TestMessage) Reset ¶
func (m *TestMessage) Reset()
func (*TestMessage) String ¶
func (m *TestMessage) String() string
func (*TestMessage) XXX_DiscardUnknown ¶
func (m *TestMessage) XXX_DiscardUnknown()
func (*TestMessage) XXX_Marshal ¶
func (m *TestMessage) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TestMessage) XXX_Merge ¶
func (dst *TestMessage) XXX_Merge(src proto.Message)
func (*TestMessage) XXX_Size ¶
func (m *TestMessage) XXX_Size() int
func (*TestMessage) XXX_Unmarshal ¶
func (m *TestMessage) XXX_Unmarshal(b []byte) error
type TestServiceClient ¶
type TestServiceClient interface {
TestUnary(ctx context.Context, in *TestMessage, opts ...grpc.CallOption) (*TestMessage, error)
}
TestServiceClient is the client API for TestService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTestServiceClient ¶
func NewTestServiceClient(cc *grpc.ClientConn) TestServiceClient
type TestServiceServer ¶
type TestServiceServer interface {
TestUnary(context.Context, *TestMessage) (*TestMessage, error)
}
TestServiceServer is the server API for TestService service.
Click to show internal directories.
Click to hide internal directories.