cmdpb

package
v0.0.0-...-3a86166 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2020 License: GPL-2.0, Apache-2.0 Imports: 7 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterDefaultcmdsrvServer

func RegisterDefaultcmdsrvServer(s *grpc.Server, srv DefaultcmdsrvServer)

func RegisterStringopsrvServer

func RegisterStringopsrvServer(s *grpc.Server, srv StringopsrvServer)

Types

type DefaultRequest

type DefaultRequest struct {
	Reqid                int32    `protobuf:"varint,1,opt,name=reqid,proto3" json:"reqid,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DefaultRequest) Descriptor

func (*DefaultRequest) Descriptor() ([]byte, []int)

func (*DefaultRequest) GetReqid

func (m *DefaultRequest) GetReqid() int32

func (*DefaultRequest) ProtoMessage

func (*DefaultRequest) ProtoMessage()

func (*DefaultRequest) Reset

func (m *DefaultRequest) Reset()

func (*DefaultRequest) String

func (m *DefaultRequest) String() string

func (*DefaultRequest) XXX_DiscardUnknown

func (m *DefaultRequest) XXX_DiscardUnknown()

func (*DefaultRequest) XXX_Marshal

func (m *DefaultRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DefaultRequest) XXX_Merge

func (m *DefaultRequest) XXX_Merge(src proto.Message)

func (*DefaultRequest) XXX_Size

func (m *DefaultRequest) XXX_Size() int

func (*DefaultRequest) XXX_Unmarshal

func (m *DefaultRequest) XXX_Unmarshal(b []byte) error

type DefaultRequestIDMsg

type DefaultRequestIDMsg struct {
	Reqid                int32    `protobuf:"varint,1,opt,name=reqid,proto3" json:"reqid,omitempty"`
	Message              string   `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DefaultRequestIDMsg) Descriptor

func (*DefaultRequestIDMsg) Descriptor() ([]byte, []int)

func (*DefaultRequestIDMsg) GetMessage

func (m *DefaultRequestIDMsg) GetMessage() string

func (*DefaultRequestIDMsg) GetReqid

func (m *DefaultRequestIDMsg) GetReqid() int32

func (*DefaultRequestIDMsg) ProtoMessage

func (*DefaultRequestIDMsg) ProtoMessage()

func (*DefaultRequestIDMsg) Reset

func (m *DefaultRequestIDMsg) Reset()

func (*DefaultRequestIDMsg) String

func (m *DefaultRequestIDMsg) String() string

func (*DefaultRequestIDMsg) XXX_DiscardUnknown

func (m *DefaultRequestIDMsg) XXX_DiscardUnknown()

func (*DefaultRequestIDMsg) XXX_Marshal

func (m *DefaultRequestIDMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DefaultRequestIDMsg) XXX_Merge

func (m *DefaultRequestIDMsg) XXX_Merge(src proto.Message)

func (*DefaultRequestIDMsg) XXX_Size

func (m *DefaultRequestIDMsg) XXX_Size() int

func (*DefaultRequestIDMsg) XXX_Unmarshal

func (m *DefaultRequestIDMsg) XXX_Unmarshal(b []byte) error

type DefaultRequestMsg

type DefaultRequestMsg struct {
	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DefaultRequestMsg) Descriptor

func (*DefaultRequestMsg) Descriptor() ([]byte, []int)

func (*DefaultRequestMsg) GetMessage

func (m *DefaultRequestMsg) GetMessage() string

func (*DefaultRequestMsg) ProtoMessage

func (*DefaultRequestMsg) ProtoMessage()

func (*DefaultRequestMsg) Reset

func (m *DefaultRequestMsg) Reset()

func (*DefaultRequestMsg) String

func (m *DefaultRequestMsg) String() string

func (*DefaultRequestMsg) XXX_DiscardUnknown

func (m *DefaultRequestMsg) XXX_DiscardUnknown()

func (*DefaultRequestMsg) XXX_Marshal

func (m *DefaultRequestMsg) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DefaultRequestMsg) XXX_Merge

func (m *DefaultRequestMsg) XXX_Merge(src proto.Message)

func (*DefaultRequestMsg) XXX_Size

func (m *DefaultRequestMsg) XXX_Size() int

func (*DefaultRequestMsg) XXX_Unmarshal

func (m *DefaultRequestMsg) XXX_Unmarshal(b []byte) error

type DefaultResp

type DefaultResp struct {
	Message              string   `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*DefaultResp) Descriptor

func (*DefaultResp) Descriptor() ([]byte, []int)

func (*DefaultResp) GetMessage

func (m *DefaultResp) GetMessage() string

func (*DefaultResp) ProtoMessage

func (*DefaultResp) ProtoMessage()

func (*DefaultResp) Reset

func (m *DefaultResp) Reset()

func (*DefaultResp) String

func (m *DefaultResp) String() string

func (*DefaultResp) XXX_DiscardUnknown

func (m *DefaultResp) XXX_DiscardUnknown()

func (*DefaultResp) XXX_Marshal

func (m *DefaultResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DefaultResp) XXX_Merge

func (m *DefaultResp) XXX_Merge(src proto.Message)

func (*DefaultResp) XXX_Size

func (m *DefaultResp) XXX_Size() int

func (*DefaultResp) XXX_Unmarshal

func (m *DefaultResp) XXX_Unmarshal(b []byte) error

type DefaultcmdsrvClient

type DefaultcmdsrvClient interface {
	DefaultCmdDo(ctx context.Context, in *DefaultRequest, opts ...grpc.CallOption) (*DefaultResp, error)
}

DefaultcmdsrvClient is the client API for Defaultcmdsrv service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewDefaultcmdsrvClient

func NewDefaultcmdsrvClient(cc *grpc.ClientConn) DefaultcmdsrvClient

type DefaultcmdsrvServer

type DefaultcmdsrvServer interface {
	DefaultCmdDo(context.Context, *DefaultRequest) (*DefaultResp, error)
}

DefaultcmdsrvServer is the server API for Defaultcmdsrv service.

type StringOP

type StringOP struct {
	Op                   int32    `protobuf:"varint,1,opt,name=op,proto3" json:"op,omitempty"`
	Param                string   `protobuf:"bytes,2,opt,name=param,proto3" json:"param,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (*StringOP) Descriptor

func (*StringOP) Descriptor() ([]byte, []int)

func (*StringOP) GetOp

func (m *StringOP) GetOp() int32

func (*StringOP) GetParam

func (m *StringOP) GetParam() string

func (*StringOP) ProtoMessage

func (*StringOP) ProtoMessage()

func (*StringOP) Reset

func (m *StringOP) Reset()

func (*StringOP) String

func (m *StringOP) String() string

func (*StringOP) XXX_DiscardUnknown

func (m *StringOP) XXX_DiscardUnknown()

func (*StringOP) XXX_Marshal

func (m *StringOP) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*StringOP) XXX_Merge

func (m *StringOP) XXX_Merge(src proto.Message)

func (*StringOP) XXX_Size

func (m *StringOP) XXX_Size() int

func (*StringOP) XXX_Unmarshal

func (m *StringOP) XXX_Unmarshal(b []byte) error

type StringopsrvClient

type StringopsrvClient interface {
	StringOpDo(ctx context.Context, in *StringOP, opts ...grpc.CallOption) (*DefaultResp, error)
}

StringopsrvClient is the client API for Stringopsrv service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewStringopsrvClient

func NewStringopsrvClient(cc *grpc.ClientConn) StringopsrvClient

type StringopsrvServer

type StringopsrvServer interface {
	StringOpDo(context.Context, *StringOP) (*DefaultResp, error)
}

StringopsrvServer is the server API for Stringopsrv service.

type UnimplementedDefaultcmdsrvServer

type UnimplementedDefaultcmdsrvServer struct {
}

UnimplementedDefaultcmdsrvServer can be embedded to have forward compatible implementations.

func (*UnimplementedDefaultcmdsrvServer) DefaultCmdDo

type UnimplementedStringopsrvServer

type UnimplementedStringopsrvServer struct {
}

UnimplementedStringopsrvServer can be embedded to have forward compatible implementations.

func (*UnimplementedStringopsrvServer) StringOpDo

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL