Documentation
¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type CreateClientCallbackResponse
- func (*CreateClientCallbackResponse) Descriptor() ([]byte, []int)
- func (m *CreateClientCallbackResponse) GetStatus() string
- func (*CreateClientCallbackResponse) ProtoMessage()
- func (m *CreateClientCallbackResponse) Reset()
- func (m *CreateClientCallbackResponse) String() string
- func (this *CreateClientCallbackResponse) Validate() error
- func (m *CreateClientCallbackResponse) XXX_DiscardUnknown()
- func (m *CreateClientCallbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateClientCallbackResponse) XXX_Merge(src proto.Message)
- func (m *CreateClientCallbackResponse) XXX_Size() int
- func (m *CreateClientCallbackResponse) XXX_Unmarshal(b []byte) error
- type CreateClientCallbackResponseWrapper
- func (*CreateClientCallbackResponseWrapper) Descriptor() ([]byte, []int)
- func (m *CreateClientCallbackResponseWrapper) GetCode() int32
- func (m *CreateClientCallbackResponseWrapper) GetCodeExplain() string
- func (m *CreateClientCallbackResponseWrapper) GetData() *CreateClientCallbackResponse
- func (m *CreateClientCallbackResponseWrapper) GetError() string
- func (*CreateClientCallbackResponseWrapper) ProtoMessage()
- func (m *CreateClientCallbackResponseWrapper) Reset()
- func (m *CreateClientCallbackResponseWrapper) String() string
- func (this *CreateClientCallbackResponseWrapper) Validate() error
- func (m *CreateClientCallbackResponseWrapper) XXX_DiscardUnknown()
- func (m *CreateClientCallbackResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateClientCallbackResponseWrapper) XXX_Merge(src proto.Message)
- func (m *CreateClientCallbackResponseWrapper) XXX_Size() int
- func (m *CreateClientCallbackResponseWrapper) XXX_Unmarshal(b []byte) error
- type CreateClientRequest
- func (*CreateClientRequest) Descriptor() ([]byte, []int)
- func (m *CreateClientRequest) GetIp() string
- func (*CreateClientRequest) ProtoMessage()
- func (m *CreateClientRequest) Reset()
- func (m *CreateClientRequest) String() string
- func (this *CreateClientRequest) Validate() error
- func (m *CreateClientRequest) XXX_DiscardUnknown()
- func (m *CreateClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateClientRequest) XXX_Merge(src proto.Message)
- func (m *CreateClientRequest) XXX_Size() int
- func (m *CreateClientRequest) XXX_Unmarshal(b []byte) error
- type CreateClientResponseWrapper
- func (*CreateClientResponseWrapper) Descriptor() ([]byte, []int)
- func (m *CreateClientResponseWrapper) GetCode() int32
- func (m *CreateClientResponseWrapper) GetCodeExplain() string
- func (m *CreateClientResponseWrapper) GetData() *database_delivery.DBClient
- func (m *CreateClientResponseWrapper) GetError() string
- func (*CreateClientResponseWrapper) ProtoMessage()
- func (m *CreateClientResponseWrapper) Reset()
- func (m *CreateClientResponseWrapper) String() string
- func (this *CreateClientResponseWrapper) Validate() error
- func (m *CreateClientResponseWrapper) XXX_DiscardUnknown()
- func (m *CreateClientResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateClientResponseWrapper) XXX_Merge(src proto.Message)
- func (m *CreateClientResponseWrapper) XXX_Size() int
- func (m *CreateClientResponseWrapper) XXX_Unmarshal(b []byte) error
- type DeleteClientRequest
- func (*DeleteClientRequest) Descriptor() ([]byte, []int)
- func (m *DeleteClientRequest) GetClientIp() string
- func (*DeleteClientRequest) ProtoMessage()
- func (m *DeleteClientRequest) Reset()
- func (m *DeleteClientRequest) String() string
- func (this *DeleteClientRequest) Validate() error
- func (m *DeleteClientRequest) XXX_DiscardUnknown()
- func (m *DeleteClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteClientRequest) XXX_Merge(src proto.Message)
- func (m *DeleteClientRequest) XXX_Size() int
- func (m *DeleteClientRequest) XXX_Unmarshal(b []byte) error
- type DeleteClientResponseWrapper
- func (*DeleteClientResponseWrapper) Descriptor() ([]byte, []int)
- func (m *DeleteClientResponseWrapper) GetCode() int32
- func (m *DeleteClientResponseWrapper) GetCodeExplain() string
- func (m *DeleteClientResponseWrapper) GetData() *types.Empty
- func (m *DeleteClientResponseWrapper) GetError() string
- func (*DeleteClientResponseWrapper) ProtoMessage()
- func (m *DeleteClientResponseWrapper) Reset()
- func (m *DeleteClientResponseWrapper) String() string
- func (this *DeleteClientResponseWrapper) Validate() error
- func (m *DeleteClientResponseWrapper) XXX_DiscardUnknown()
- func (m *DeleteClientResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteClientResponseWrapper) XXX_Merge(src proto.Message)
- func (m *DeleteClientResponseWrapper) XXX_Size() int
- func (m *DeleteClientResponseWrapper) XXX_Unmarshal(b []byte) error
- type ListClientRequest
- func (*ListClientRequest) Descriptor() ([]byte, []int)
- func (m *ListClientRequest) GetPage() int32
- func (m *ListClientRequest) GetPageSize() int32
- func (*ListClientRequest) ProtoMessage()
- func (m *ListClientRequest) Reset()
- func (m *ListClientRequest) String() string
- func (this *ListClientRequest) Validate() error
- func (m *ListClientRequest) XXX_DiscardUnknown()
- func (m *ListClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListClientRequest) XXX_Merge(src proto.Message)
- func (m *ListClientRequest) XXX_Size() int
- func (m *ListClientRequest) XXX_Unmarshal(b []byte) error
- type ListClientResponse
- func (*ListClientResponse) Descriptor() ([]byte, []int)
- func (m *ListClientResponse) GetList() []*database_delivery.DBClient
- func (m *ListClientResponse) GetPage() int32
- func (m *ListClientResponse) GetPageSize() int32
- func (m *ListClientResponse) GetTotal() int32
- func (*ListClientResponse) ProtoMessage()
- func (m *ListClientResponse) Reset()
- func (m *ListClientResponse) String() string
- func (this *ListClientResponse) Validate() error
- func (m *ListClientResponse) XXX_DiscardUnknown()
- func (m *ListClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListClientResponse) XXX_Merge(src proto.Message)
- func (m *ListClientResponse) XXX_Size() int
- func (m *ListClientResponse) XXX_Unmarshal(b []byte) error
- type ListClientResponseWrapper
- func (*ListClientResponseWrapper) Descriptor() ([]byte, []int)
- func (m *ListClientResponseWrapper) GetCode() int32
- func (m *ListClientResponseWrapper) GetCodeExplain() string
- func (m *ListClientResponseWrapper) GetData() *ListClientResponse
- func (m *ListClientResponseWrapper) GetError() string
- func (*ListClientResponseWrapper) ProtoMessage()
- func (m *ListClientResponseWrapper) Reset()
- func (m *ListClientResponseWrapper) String() string
- func (this *ListClientResponseWrapper) Validate() error
- func (m *ListClientResponseWrapper) XXX_DiscardUnknown()
- func (m *ListClientResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ListClientResponseWrapper) XXX_Merge(src proto.Message)
- func (m *ListClientResponseWrapper) XXX_Size() int
- func (m *ListClientResponseWrapper) XXX_Unmarshal(b []byte) error
- type Service
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterService ¶
func RegisterService(s giraffe_micro.Server, srv Service)
Types ¶
type Client ¶
type Client interface { CreateClient(ctx context.Context, in *CreateClientRequest) (*database_delivery.DBClient, error) CreateClientCallback(ctx context.Context, in *easy_command.TaskDetail) (*CreateClientCallbackResponse, error) DeleteClient(ctx context.Context, in *DeleteClientRequest) (*types.Empty, error) ListClient(ctx context.Context, in *ListClientRequest) (*ListClientResponse, error) }
Client is the client API for dbclient service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
func NewClient ¶
func NewClient(c giraffe_micro.Client) Client
type CreateClientCallbackResponse ¶
type CreateClientCallbackResponse struct { // //回调状态 Status string `protobuf:"bytes,1,opt,name=status,proto3" json:"status" form:"status"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateClientCallback返回
func (*CreateClientCallbackResponse) Descriptor ¶
func (*CreateClientCallbackResponse) Descriptor() ([]byte, []int)
func (*CreateClientCallbackResponse) GetStatus ¶
func (m *CreateClientCallbackResponse) GetStatus() string
func (*CreateClientCallbackResponse) ProtoMessage ¶
func (*CreateClientCallbackResponse) ProtoMessage()
func (*CreateClientCallbackResponse) Reset ¶
func (m *CreateClientCallbackResponse) Reset()
func (*CreateClientCallbackResponse) String ¶
func (m *CreateClientCallbackResponse) String() string
func (*CreateClientCallbackResponse) Validate ¶
func (this *CreateClientCallbackResponse) Validate() error
func (*CreateClientCallbackResponse) XXX_DiscardUnknown ¶
func (m *CreateClientCallbackResponse) XXX_DiscardUnknown()
func (*CreateClientCallbackResponse) XXX_Marshal ¶
func (m *CreateClientCallbackResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateClientCallbackResponse) XXX_Merge ¶
func (m *CreateClientCallbackResponse) XXX_Merge(src proto.Message)
func (*CreateClientCallbackResponse) XXX_Size ¶
func (m *CreateClientCallbackResponse) XXX_Size() int
func (*CreateClientCallbackResponse) XXX_Unmarshal ¶
func (m *CreateClientCallbackResponse) XXX_Unmarshal(b []byte) error
type CreateClientCallbackResponseWrapper ¶
type CreateClientCallbackResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *CreateClientCallbackResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateClientCallbackApi返回
func (*CreateClientCallbackResponseWrapper) Descriptor ¶
func (*CreateClientCallbackResponseWrapper) Descriptor() ([]byte, []int)
func (*CreateClientCallbackResponseWrapper) GetCode ¶
func (m *CreateClientCallbackResponseWrapper) GetCode() int32
func (*CreateClientCallbackResponseWrapper) GetCodeExplain ¶
func (m *CreateClientCallbackResponseWrapper) GetCodeExplain() string
func (*CreateClientCallbackResponseWrapper) GetData ¶
func (m *CreateClientCallbackResponseWrapper) GetData() *CreateClientCallbackResponse
func (*CreateClientCallbackResponseWrapper) GetError ¶
func (m *CreateClientCallbackResponseWrapper) GetError() string
func (*CreateClientCallbackResponseWrapper) ProtoMessage ¶
func (*CreateClientCallbackResponseWrapper) ProtoMessage()
func (*CreateClientCallbackResponseWrapper) Reset ¶
func (m *CreateClientCallbackResponseWrapper) Reset()
func (*CreateClientCallbackResponseWrapper) String ¶
func (m *CreateClientCallbackResponseWrapper) String() string
func (*CreateClientCallbackResponseWrapper) Validate ¶
func (this *CreateClientCallbackResponseWrapper) Validate() error
func (*CreateClientCallbackResponseWrapper) XXX_DiscardUnknown ¶
func (m *CreateClientCallbackResponseWrapper) XXX_DiscardUnknown()
func (*CreateClientCallbackResponseWrapper) XXX_Marshal ¶
func (m *CreateClientCallbackResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateClientCallbackResponseWrapper) XXX_Merge ¶
func (m *CreateClientCallbackResponseWrapper) XXX_Merge(src proto.Message)
func (*CreateClientCallbackResponseWrapper) XXX_Size ¶
func (m *CreateClientCallbackResponseWrapper) XXX_Size() int
func (*CreateClientCallbackResponseWrapper) XXX_Unmarshal ¶
func (m *CreateClientCallbackResponseWrapper) XXX_Unmarshal(b []byte) error
type CreateClientRequest ¶
type CreateClientRequest struct { // //客户端IP Ip string `protobuf:"bytes,1,opt,name=ip,proto3" json:"ip" form:"ip"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateClient请求
func (*CreateClientRequest) Descriptor ¶
func (*CreateClientRequest) Descriptor() ([]byte, []int)
func (*CreateClientRequest) GetIp ¶
func (m *CreateClientRequest) GetIp() string
func (*CreateClientRequest) ProtoMessage ¶
func (*CreateClientRequest) ProtoMessage()
func (*CreateClientRequest) Reset ¶
func (m *CreateClientRequest) Reset()
func (*CreateClientRequest) String ¶
func (m *CreateClientRequest) String() string
func (*CreateClientRequest) Validate ¶
func (this *CreateClientRequest) Validate() error
func (*CreateClientRequest) XXX_DiscardUnknown ¶
func (m *CreateClientRequest) XXX_DiscardUnknown()
func (*CreateClientRequest) XXX_Marshal ¶
func (m *CreateClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateClientRequest) XXX_Merge ¶
func (m *CreateClientRequest) XXX_Merge(src proto.Message)
func (*CreateClientRequest) XXX_Size ¶
func (m *CreateClientRequest) XXX_Size() int
func (*CreateClientRequest) XXX_Unmarshal ¶
func (m *CreateClientRequest) XXX_Unmarshal(b []byte) error
type CreateClientResponseWrapper ¶
type CreateClientResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *database_delivery.DBClient `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateClientApi返回
func (*CreateClientResponseWrapper) Descriptor ¶
func (*CreateClientResponseWrapper) Descriptor() ([]byte, []int)
func (*CreateClientResponseWrapper) GetCode ¶
func (m *CreateClientResponseWrapper) GetCode() int32
func (*CreateClientResponseWrapper) GetCodeExplain ¶
func (m *CreateClientResponseWrapper) GetCodeExplain() string
func (*CreateClientResponseWrapper) GetData ¶
func (m *CreateClientResponseWrapper) GetData() *database_delivery.DBClient
func (*CreateClientResponseWrapper) GetError ¶
func (m *CreateClientResponseWrapper) GetError() string
func (*CreateClientResponseWrapper) ProtoMessage ¶
func (*CreateClientResponseWrapper) ProtoMessage()
func (*CreateClientResponseWrapper) Reset ¶
func (m *CreateClientResponseWrapper) Reset()
func (*CreateClientResponseWrapper) String ¶
func (m *CreateClientResponseWrapper) String() string
func (*CreateClientResponseWrapper) Validate ¶
func (this *CreateClientResponseWrapper) Validate() error
func (*CreateClientResponseWrapper) XXX_DiscardUnknown ¶
func (m *CreateClientResponseWrapper) XXX_DiscardUnknown()
func (*CreateClientResponseWrapper) XXX_Marshal ¶
func (m *CreateClientResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateClientResponseWrapper) XXX_Merge ¶
func (m *CreateClientResponseWrapper) XXX_Merge(src proto.Message)
func (*CreateClientResponseWrapper) XXX_Size ¶
func (m *CreateClientResponseWrapper) XXX_Size() int
func (*CreateClientResponseWrapper) XXX_Unmarshal ¶
func (m *CreateClientResponseWrapper) XXX_Unmarshal(b []byte) error
type DeleteClientRequest ¶
type DeleteClientRequest struct { // //客户端IP ClientIp string `protobuf:"bytes,1,opt,name=clientIp,proto3" json:"clientIp" form:"clientIp"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteClient请求
func (*DeleteClientRequest) Descriptor ¶
func (*DeleteClientRequest) Descriptor() ([]byte, []int)
func (*DeleteClientRequest) GetClientIp ¶
func (m *DeleteClientRequest) GetClientIp() string
func (*DeleteClientRequest) ProtoMessage ¶
func (*DeleteClientRequest) ProtoMessage()
func (*DeleteClientRequest) Reset ¶
func (m *DeleteClientRequest) Reset()
func (*DeleteClientRequest) String ¶
func (m *DeleteClientRequest) String() string
func (*DeleteClientRequest) Validate ¶
func (this *DeleteClientRequest) Validate() error
func (*DeleteClientRequest) XXX_DiscardUnknown ¶
func (m *DeleteClientRequest) XXX_DiscardUnknown()
func (*DeleteClientRequest) XXX_Marshal ¶
func (m *DeleteClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteClientRequest) XXX_Merge ¶
func (m *DeleteClientRequest) XXX_Merge(src proto.Message)
func (*DeleteClientRequest) XXX_Size ¶
func (m *DeleteClientRequest) XXX_Size() int
func (*DeleteClientRequest) XXX_Unmarshal ¶
func (m *DeleteClientRequest) XXX_Unmarshal(b []byte) error
type DeleteClientResponseWrapper ¶
type DeleteClientResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *types.Empty `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
DeleteClientApi返回
func (*DeleteClientResponseWrapper) Descriptor ¶
func (*DeleteClientResponseWrapper) Descriptor() ([]byte, []int)
func (*DeleteClientResponseWrapper) GetCode ¶
func (m *DeleteClientResponseWrapper) GetCode() int32
func (*DeleteClientResponseWrapper) GetCodeExplain ¶
func (m *DeleteClientResponseWrapper) GetCodeExplain() string
func (*DeleteClientResponseWrapper) GetData ¶
func (m *DeleteClientResponseWrapper) GetData() *types.Empty
func (*DeleteClientResponseWrapper) GetError ¶
func (m *DeleteClientResponseWrapper) GetError() string
func (*DeleteClientResponseWrapper) ProtoMessage ¶
func (*DeleteClientResponseWrapper) ProtoMessage()
func (*DeleteClientResponseWrapper) Reset ¶
func (m *DeleteClientResponseWrapper) Reset()
func (*DeleteClientResponseWrapper) String ¶
func (m *DeleteClientResponseWrapper) String() string
func (*DeleteClientResponseWrapper) Validate ¶
func (this *DeleteClientResponseWrapper) Validate() error
func (*DeleteClientResponseWrapper) XXX_DiscardUnknown ¶
func (m *DeleteClientResponseWrapper) XXX_DiscardUnknown()
func (*DeleteClientResponseWrapper) XXX_Marshal ¶
func (m *DeleteClientResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteClientResponseWrapper) XXX_Merge ¶
func (m *DeleteClientResponseWrapper) XXX_Merge(src proto.Message)
func (*DeleteClientResponseWrapper) XXX_Size ¶
func (m *DeleteClientResponseWrapper) XXX_Size() int
func (*DeleteClientResponseWrapper) XXX_Unmarshal ¶
func (m *DeleteClientResponseWrapper) XXX_Unmarshal(b []byte) error
type ListClientRequest ¶
type ListClientRequest struct { // //页码 Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"` // //每页数据量 PageSize int32 `protobuf:"varint,2,opt,name=pageSize,proto3" json:"pageSize" form:"pageSize"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListClient请求
func (*ListClientRequest) Descriptor ¶
func (*ListClientRequest) Descriptor() ([]byte, []int)
func (*ListClientRequest) GetPage ¶
func (m *ListClientRequest) GetPage() int32
func (*ListClientRequest) GetPageSize ¶
func (m *ListClientRequest) GetPageSize() int32
func (*ListClientRequest) ProtoMessage ¶
func (*ListClientRequest) ProtoMessage()
func (*ListClientRequest) Reset ¶
func (m *ListClientRequest) Reset()
func (*ListClientRequest) String ¶
func (m *ListClientRequest) String() string
func (*ListClientRequest) Validate ¶
func (this *ListClientRequest) Validate() error
func (*ListClientRequest) XXX_DiscardUnknown ¶
func (m *ListClientRequest) XXX_DiscardUnknown()
func (*ListClientRequest) XXX_Marshal ¶
func (m *ListClientRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClientRequest) XXX_Merge ¶
func (m *ListClientRequest) XXX_Merge(src proto.Message)
func (*ListClientRequest) XXX_Size ¶
func (m *ListClientRequest) XXX_Size() int
func (*ListClientRequest) XXX_Unmarshal ¶
func (m *ListClientRequest) XXX_Unmarshal(b []byte) error
type ListClientResponse ¶
type ListClientResponse struct { // //页数 Page int32 `protobuf:"varint,1,opt,name=page,proto3" json:"page" form:"page"` // //页大小 PageSize int32 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size" form:"page_size"` // //总数 Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"` // //数据列表 List []*database_delivery.DBClient `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListClient返回
func (*ListClientResponse) Descriptor ¶
func (*ListClientResponse) Descriptor() ([]byte, []int)
func (*ListClientResponse) GetList ¶
func (m *ListClientResponse) GetList() []*database_delivery.DBClient
func (*ListClientResponse) GetPage ¶
func (m *ListClientResponse) GetPage() int32
func (*ListClientResponse) GetPageSize ¶
func (m *ListClientResponse) GetPageSize() int32
func (*ListClientResponse) GetTotal ¶
func (m *ListClientResponse) GetTotal() int32
func (*ListClientResponse) ProtoMessage ¶
func (*ListClientResponse) ProtoMessage()
func (*ListClientResponse) Reset ¶
func (m *ListClientResponse) Reset()
func (*ListClientResponse) String ¶
func (m *ListClientResponse) String() string
func (*ListClientResponse) Validate ¶
func (this *ListClientResponse) Validate() error
func (*ListClientResponse) XXX_DiscardUnknown ¶
func (m *ListClientResponse) XXX_DiscardUnknown()
func (*ListClientResponse) XXX_Marshal ¶
func (m *ListClientResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClientResponse) XXX_Merge ¶
func (m *ListClientResponse) XXX_Merge(src proto.Message)
func (*ListClientResponse) XXX_Size ¶
func (m *ListClientResponse) XXX_Size() int
func (*ListClientResponse) XXX_Unmarshal ¶
func (m *ListClientResponse) XXX_Unmarshal(b []byte) error
type ListClientResponseWrapper ¶
type ListClientResponseWrapper struct { // //返回码 Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"` // //返回码解释 CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"` // //错误详情 Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"` // //返回数据 Data *ListClientResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
ListClientApi返回
func (*ListClientResponseWrapper) Descriptor ¶
func (*ListClientResponseWrapper) Descriptor() ([]byte, []int)
func (*ListClientResponseWrapper) GetCode ¶
func (m *ListClientResponseWrapper) GetCode() int32
func (*ListClientResponseWrapper) GetCodeExplain ¶
func (m *ListClientResponseWrapper) GetCodeExplain() string
func (*ListClientResponseWrapper) GetData ¶
func (m *ListClientResponseWrapper) GetData() *ListClientResponse
func (*ListClientResponseWrapper) GetError ¶
func (m *ListClientResponseWrapper) GetError() string
func (*ListClientResponseWrapper) ProtoMessage ¶
func (*ListClientResponseWrapper) ProtoMessage()
func (*ListClientResponseWrapper) Reset ¶
func (m *ListClientResponseWrapper) Reset()
func (*ListClientResponseWrapper) String ¶
func (m *ListClientResponseWrapper) String() string
func (*ListClientResponseWrapper) Validate ¶
func (this *ListClientResponseWrapper) Validate() error
func (*ListClientResponseWrapper) XXX_DiscardUnknown ¶
func (m *ListClientResponseWrapper) XXX_DiscardUnknown()
func (*ListClientResponseWrapper) XXX_Marshal ¶
func (m *ListClientResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ListClientResponseWrapper) XXX_Merge ¶
func (m *ListClientResponseWrapper) XXX_Merge(src proto.Message)
func (*ListClientResponseWrapper) XXX_Size ¶
func (m *ListClientResponseWrapper) XXX_Size() int
func (*ListClientResponseWrapper) XXX_Unmarshal ¶
func (m *ListClientResponseWrapper) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { CreateClient(context.Context, *CreateClientRequest) (*database_delivery.DBClient, error) CreateClientCallback(context.Context, *easy_command.TaskDetail) (*CreateClientCallbackResponse, error) DeleteClient(context.Context, *DeleteClientRequest) (*types.Empty, error) ListClient(context.Context, *ListClientRequest) (*ListClientResponse, error) }
Service is the server API for dbclient service.
Click to show internal directories.
Click to hide internal directories.