Documentation
¶
Index ¶
- func RegisterDummyServiceServer(s *grpc.Server, srv DummyServiceServer)
- type DummyServiceClient
- type DummyServiceServer
- type RequestDummy
- func (*RequestDummy) Descriptor() ([]byte, []int)
- func (m *RequestDummy) GetName() string
- func (*RequestDummy) ProtoMessage()
- func (m *RequestDummy) Reset()
- func (m *RequestDummy) String() string
- func (m *RequestDummy) XXX_DiscardUnknown()
- func (m *RequestDummy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RequestDummy) XXX_Merge(src proto.Message)
- func (m *RequestDummy) XXX_Size() int
- func (m *RequestDummy) XXX_Unmarshal(b []byte) error
- type ResponseDummy
- func (*ResponseDummy) Descriptor() ([]byte, []int)
- func (m *ResponseDummy) GetName() string
- func (*ResponseDummy) ProtoMessage()
- func (m *ResponseDummy) Reset()
- func (m *ResponseDummy) String() string
- func (m *ResponseDummy) XXX_DiscardUnknown()
- func (m *ResponseDummy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ResponseDummy) XXX_Merge(src proto.Message)
- func (m *ResponseDummy) XXX_Size() int
- func (m *ResponseDummy) XXX_Unmarshal(b []byte) error
- type UnimplementedDummyServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterDummyServiceServer ¶
func RegisterDummyServiceServer(s *grpc.Server, srv DummyServiceServer)
Types ¶
type DummyServiceClient ¶
type DummyServiceClient interface {
Hello(ctx context.Context, in *RequestDummy, opts ...grpc.CallOption) (*ResponseDummy, error)
}
DummyServiceClient is the client API for DummyService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewDummyServiceClient ¶
func NewDummyServiceClient(cc grpc.ClientConnInterface) DummyServiceClient
type DummyServiceServer ¶
type DummyServiceServer interface {
Hello(context.Context, *RequestDummy) (*ResponseDummy, error)
}
DummyServiceServer is the server API for DummyService service.
type RequestDummy ¶
type RequestDummy struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*RequestDummy) Descriptor ¶
func (*RequestDummy) Descriptor() ([]byte, []int)
func (*RequestDummy) GetName ¶
func (m *RequestDummy) GetName() string
func (*RequestDummy) ProtoMessage ¶
func (*RequestDummy) ProtoMessage()
func (*RequestDummy) Reset ¶
func (m *RequestDummy) Reset()
func (*RequestDummy) String ¶
func (m *RequestDummy) String() string
func (*RequestDummy) XXX_DiscardUnknown ¶
func (m *RequestDummy) XXX_DiscardUnknown()
func (*RequestDummy) XXX_Marshal ¶
func (m *RequestDummy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RequestDummy) XXX_Merge ¶
func (m *RequestDummy) XXX_Merge(src proto.Message)
func (*RequestDummy) XXX_Size ¶
func (m *RequestDummy) XXX_Size() int
func (*RequestDummy) XXX_Unmarshal ¶
func (m *RequestDummy) XXX_Unmarshal(b []byte) error
type ResponseDummy ¶
type ResponseDummy struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*ResponseDummy) Descriptor ¶
func (*ResponseDummy) Descriptor() ([]byte, []int)
func (*ResponseDummy) GetName ¶
func (m *ResponseDummy) GetName() string
func (*ResponseDummy) ProtoMessage ¶
func (*ResponseDummy) ProtoMessage()
func (*ResponseDummy) Reset ¶
func (m *ResponseDummy) Reset()
func (*ResponseDummy) String ¶
func (m *ResponseDummy) String() string
func (*ResponseDummy) XXX_DiscardUnknown ¶
func (m *ResponseDummy) XXX_DiscardUnknown()
func (*ResponseDummy) XXX_Marshal ¶
func (m *ResponseDummy) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ResponseDummy) XXX_Merge ¶
func (m *ResponseDummy) XXX_Merge(src proto.Message)
func (*ResponseDummy) XXX_Size ¶
func (m *ResponseDummy) XXX_Size() int
func (*ResponseDummy) XXX_Unmarshal ¶
func (m *ResponseDummy) XXX_Unmarshal(b []byte) error
type UnimplementedDummyServiceServer ¶
type UnimplementedDummyServiceServer struct { }
UnimplementedDummyServiceServer can be embedded to have forward compatible implementations.
func (*UnimplementedDummyServiceServer) Hello ¶
func (*UnimplementedDummyServiceServer) Hello(ctx context.Context, req *RequestDummy) (*ResponseDummy, error)
Click to show internal directories.
Click to hide internal directories.