Documentation ¶
Index ¶
- func RegisterTheServiceServer(s *grpc.Server, srv TheServiceServer)
- type TheRequest
- func (*TheRequest) Descriptor() ([]byte, []int)
- func (m *TheRequest) GetRequestUID() string
- func (*TheRequest) ProtoMessage()
- func (m *TheRequest) Reset()
- func (m *TheRequest) String() string
- func (m *TheRequest) XXX_DiscardUnknown()
- func (m *TheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TheRequest) XXX_Merge(src proto.Message)
- func (m *TheRequest) XXX_Size() int
- func (m *TheRequest) XXX_Unmarshal(b []byte) error
- type TheResponse
- func (*TheResponse) Descriptor() ([]byte, []int)
- func (m *TheResponse) GetPayload() string
- func (m *TheResponse) GetRequestUID() string
- func (*TheResponse) ProtoMessage()
- func (m *TheResponse) Reset()
- func (m *TheResponse) String() string
- func (m *TheResponse) XXX_DiscardUnknown()
- func (m *TheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *TheResponse) XXX_Merge(src proto.Message)
- func (m *TheResponse) XXX_Size() int
- func (m *TheResponse) XXX_Unmarshal(b []byte) error
- type TheServiceClient
- type TheServiceServer
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterTheServiceServer ¶
func RegisterTheServiceServer(s *grpc.Server, srv TheServiceServer)
Types ¶
type TheRequest ¶
type TheRequest struct { RequestUID string `protobuf:"bytes,1,opt,name=requestUID,proto3" json:"requestUID,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TheRequest) Descriptor ¶
func (*TheRequest) Descriptor() ([]byte, []int)
func (*TheRequest) GetRequestUID ¶
func (m *TheRequest) GetRequestUID() string
func (*TheRequest) ProtoMessage ¶
func (*TheRequest) ProtoMessage()
func (*TheRequest) Reset ¶
func (m *TheRequest) Reset()
func (*TheRequest) String ¶
func (m *TheRequest) String() string
func (*TheRequest) XXX_DiscardUnknown ¶ added in v0.0.5
func (m *TheRequest) XXX_DiscardUnknown()
func (*TheRequest) XXX_Marshal ¶ added in v0.0.5
func (m *TheRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TheRequest) XXX_Merge ¶ added in v0.0.5
func (dst *TheRequest) XXX_Merge(src proto.Message)
func (*TheRequest) XXX_Size ¶ added in v0.0.5
func (m *TheRequest) XXX_Size() int
func (*TheRequest) XXX_Unmarshal ¶ added in v0.0.5
func (m *TheRequest) XXX_Unmarshal(b []byte) error
type TheResponse ¶
type TheResponse struct { RequestUID string `protobuf:"bytes,1,opt,name=requestUID,proto3" json:"requestUID,omitempty"` Payload string `protobuf:"bytes,2,opt,name=payload,proto3" json:"payload,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*TheResponse) Descriptor ¶
func (*TheResponse) Descriptor() ([]byte, []int)
func (*TheResponse) GetPayload ¶
func (m *TheResponse) GetPayload() string
func (*TheResponse) GetRequestUID ¶
func (m *TheResponse) GetRequestUID() string
func (*TheResponse) ProtoMessage ¶
func (*TheResponse) ProtoMessage()
func (*TheResponse) Reset ¶
func (m *TheResponse) Reset()
func (*TheResponse) String ¶
func (m *TheResponse) String() string
func (*TheResponse) XXX_DiscardUnknown ¶ added in v0.0.5
func (m *TheResponse) XXX_DiscardUnknown()
func (*TheResponse) XXX_Marshal ¶ added in v0.0.5
func (m *TheResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*TheResponse) XXX_Merge ¶ added in v0.0.5
func (dst *TheResponse) XXX_Merge(src proto.Message)
func (*TheResponse) XXX_Size ¶ added in v0.0.5
func (m *TheResponse) XXX_Size() int
func (*TheResponse) XXX_Unmarshal ¶ added in v0.0.5
func (m *TheResponse) XXX_Unmarshal(b []byte) error
type TheServiceClient ¶
type TheServiceClient interface {
TheFunction(ctx context.Context, in *TheRequest, opts ...grpc.CallOption) (*TheResponse, error)
}
TheServiceClient is the client API for TheService service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewTheServiceClient ¶
func NewTheServiceClient(cc *grpc.ClientConn) TheServiceClient
type TheServiceServer ¶
type TheServiceServer interface {
TheFunction(context.Context, *TheRequest) (*TheResponse, error)
}
TheServiceServer is the server API for TheService service.
Click to show internal directories.
Click to hide internal directories.