Documentation ¶
Index ¶
- Variables
- func RegisterPluginServer(s *grpc.Server, srv PluginServer)
- type CallReply
- func (*CallReply) Descriptor() ([]byte, []int)
- func (m *CallReply) GetData() []byte
- func (m *CallReply) Marshal() (dAtA []byte, err error)
- func (m *CallReply) MarshalTo(dAtA []byte) (int, error)
- func (*CallReply) ProtoMessage()
- func (m *CallReply) Reset()
- func (m *CallReply) Size() (n int)
- func (m *CallReply) String() string
- func (m *CallReply) Unmarshal(dAtA []byte) error
- func (m *CallReply) XXX_DiscardUnknown()
- func (m *CallReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CallReply) XXX_Merge(src proto.Message)
- func (m *CallReply) XXX_Size() int
- func (m *CallReply) XXX_Unmarshal(b []byte) error
- type CallReq
- func (*CallReq) Descriptor() ([]byte, []int)
- func (m *CallReq) GetArgs() []byte
- func (m *CallReq) GetName() string
- func (m *CallReq) Marshal() (dAtA []byte, err error)
- func (m *CallReq) MarshalTo(dAtA []byte) (int, error)
- func (*CallReq) ProtoMessage()
- func (m *CallReq) Reset()
- func (m *CallReq) Size() (n int)
- func (m *CallReq) String() string
- func (m *CallReq) Unmarshal(dAtA []byte) error
- func (m *CallReq) XXX_DiscardUnknown()
- func (m *CallReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *CallReq) XXX_Merge(src proto.Message)
- func (m *CallReq) XXX_Size() int
- func (m *CallReq) XXX_Unmarshal(b []byte) error
- type GetReply
- func (*GetReply) Descriptor() ([]byte, []int)
- func (m *GetReply) Marshal() (dAtA []byte, err error)
- func (m *GetReply) MarshalTo(dAtA []byte) (int, error)
- func (*GetReply) ProtoMessage()
- func (m *GetReply) Reset()
- func (m *GetReply) Size() (n int)
- func (m *GetReply) String() string
- func (m *GetReply) Unmarshal(dAtA []byte) error
- func (m *GetReply) XXX_DiscardUnknown()
- func (m *GetReply) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetReply) XXX_Merge(src proto.Message)
- func (m *GetReply) XXX_Size() int
- func (m *GetReply) XXX_Unmarshal(b []byte) error
- type GetReq
- func (*GetReq) Descriptor() ([]byte, []int)
- func (m *GetReq) GetName() string
- func (m *GetReq) Marshal() (dAtA []byte, err error)
- func (m *GetReq) MarshalTo(dAtA []byte) (int, error)
- func (*GetReq) ProtoMessage()
- func (m *GetReq) Reset()
- func (m *GetReq) Size() (n int)
- func (m *GetReq) String() string
- func (m *GetReq) Unmarshal(dAtA []byte) error
- func (m *GetReq) XXX_DiscardUnknown()
- func (m *GetReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (dst *GetReq) XXX_Merge(src proto.Message)
- func (m *GetReq) XXX_Size() int
- func (m *GetReq) XXX_Unmarshal(b []byte) error
- type PluginClient
- type PluginServer
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvalidLengthApi = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowApi = fmt.Errorf("proto: integer overflow") )
Functions ¶
func RegisterPluginServer ¶
func RegisterPluginServer(s *grpc.Server, srv PluginServer)
Types ¶
type CallReply ¶
type CallReply struct { Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CallReply) Descriptor ¶
func (*CallReply) ProtoMessage ¶
func (*CallReply) ProtoMessage()
func (*CallReply) XXX_DiscardUnknown ¶
func (m *CallReply) XXX_DiscardUnknown()
func (*CallReply) XXX_Marshal ¶
func (*CallReply) XXX_Unmarshal ¶
type CallReq ¶
type CallReq struct { Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` Args []byte `protobuf:"bytes,2,opt,name=args,proto3" json:"args,omitempty"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*CallReq) Descriptor ¶
func (*CallReq) ProtoMessage ¶
func (*CallReq) ProtoMessage()
func (*CallReq) XXX_DiscardUnknown ¶
func (m *CallReq) XXX_DiscardUnknown()
func (*CallReq) XXX_Marshal ¶
func (*CallReq) XXX_Unmarshal ¶
type GetReply ¶
type GetReply struct { XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
func (*GetReply) Descriptor ¶
func (*GetReply) ProtoMessage ¶
func (*GetReply) ProtoMessage()
func (*GetReply) XXX_DiscardUnknown ¶
func (m *GetReply) XXX_DiscardUnknown()
func (*GetReply) XXX_Marshal ¶
func (*GetReply) XXX_Unmarshal ¶
type GetReq ¶
type GetReq 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 (*GetReq) Descriptor ¶
func (*GetReq) ProtoMessage ¶
func (*GetReq) ProtoMessage()
func (*GetReq) XXX_DiscardUnknown ¶
func (m *GetReq) XXX_DiscardUnknown()
func (*GetReq) XXX_Marshal ¶
func (*GetReq) XXX_Unmarshal ¶
type PluginClient ¶
type PluginClient interface { Get(ctx context.Context, in *GetReq, opts ...grpc.CallOption) (*GetReply, error) Call(ctx context.Context, in *CallReq, opts ...grpc.CallOption) (*CallReply, error) }
PluginClient is the client API for Plugin service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewPluginClient ¶
func NewPluginClient(cc *grpc.ClientConn) PluginClient
Click to show internal directories.
Click to hide internal directories.