Documentation ¶
Overview ¶
Package helloGeneric is a generated protocol buffer package.
It is generated from these files:
protobuf.proto
It has these top-level messages:
Request Reply
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterGenericDoServer ¶
func RegisterGenericDoServer(s *grpc.Server, srv GenericDoServer)
Types ¶
type GenericDoClient ¶
type GenericDoClient interface {
DoSomething(ctx context.Context, in *Request, opts ...grpc.CallOption) (*Reply, error)
}
func NewGenericDoClient ¶
func NewGenericDoClient(cc *grpc.ClientConn) GenericDoClient
type GenericDoServer ¶
type Reply ¶
type Reply struct {
Ret *google_protobuf.Value `protobuf:"bytes,1,opt,name=ret" json:"ret,omitempty"`
}
func (*Reply) Descriptor ¶
func (*Reply) GetRet ¶
func (m *Reply) GetRet() *google_protobuf.Value
func (*Reply) ProtoMessage ¶
func (*Reply) ProtoMessage()
type Request ¶
type Request struct {
Arg *google_protobuf.Value `protobuf:"bytes,1,opt,name=arg" json:"arg,omitempty"`
}
func (*Request) Descriptor ¶
func (*Request) GetArg ¶
func (m *Request) GetArg() *google_protobuf.Value
func (*Request) ProtoMessage ¶
func (*Request) ProtoMessage()
Click to show internal directories.
Click to hide internal directories.