Documentation
¶
Index ¶
- func RegisterService(s giraffe_micro.Server, srv Service)
- type Client
- type CreateOneRequest
- func (*CreateOneRequest) Descriptor() ([]byte, []int)
- func (m *CreateOneRequest) GetData() *types.Struct
- func (*CreateOneRequest) ProtoMessage()
- func (m *CreateOneRequest) Reset()
- func (m *CreateOneRequest) String() string
- func (this *CreateOneRequest) Validate() error
- func (m *CreateOneRequest) XXX_DiscardUnknown()
- func (m *CreateOneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateOneRequest) XXX_Merge(src proto.Message)
- func (m *CreateOneRequest) XXX_Size() int
- func (m *CreateOneRequest) XXX_Unmarshal(b []byte) error
- type CreateOneResponseWrapper
- func (*CreateOneResponseWrapper) Descriptor() ([]byte, []int)
- func (m *CreateOneResponseWrapper) GetCode() int32
- func (m *CreateOneResponseWrapper) GetCodeExplain() string
- func (m *CreateOneResponseWrapper) GetData() *types.Struct
- func (m *CreateOneResponseWrapper) GetError() string
- func (*CreateOneResponseWrapper) ProtoMessage()
- func (m *CreateOneResponseWrapper) Reset()
- func (m *CreateOneResponseWrapper) String() string
- func (this *CreateOneResponseWrapper) Validate() error
- func (m *CreateOneResponseWrapper) XXX_DiscardUnknown()
- func (m *CreateOneResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateOneResponseWrapper) XXX_Merge(src proto.Message)
- func (m *CreateOneResponseWrapper) XXX_Size() int
- func (m *CreateOneResponseWrapper) XXX_Unmarshal(b []byte) error
- type SearchRequest
- func (*SearchRequest) Descriptor() ([]byte, []int)
- func (m *SearchRequest) GetPage() int32
- func (m *SearchRequest) GetPageSize() int32
- func (m *SearchRequest) GetQuery() *types.Struct
- func (*SearchRequest) ProtoMessage()
- func (m *SearchRequest) Reset()
- func (m *SearchRequest) String() string
- func (this *SearchRequest) Validate() error
- func (m *SearchRequest) XXX_DiscardUnknown()
- func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchRequest) XXX_Merge(src proto.Message)
- func (m *SearchRequest) XXX_Size() int
- func (m *SearchRequest) XXX_Unmarshal(b []byte) error
- type SearchResponse
- func (*SearchResponse) Descriptor() ([]byte, []int)
- func (m *SearchResponse) GetList() []*types.Struct
- func (m *SearchResponse) GetPage() int32
- func (m *SearchResponse) GetPageSize() int32
- func (m *SearchResponse) GetTotal() int32
- func (*SearchResponse) ProtoMessage()
- func (m *SearchResponse) Reset()
- func (m *SearchResponse) String() string
- func (this *SearchResponse) Validate() error
- func (m *SearchResponse) XXX_DiscardUnknown()
- func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchResponse) XXX_Merge(src proto.Message)
- func (m *SearchResponse) XXX_Size() int
- func (m *SearchResponse) XXX_Unmarshal(b []byte) error
- type SearchResponseWrapper
- func (*SearchResponseWrapper) Descriptor() ([]byte, []int)
- func (m *SearchResponseWrapper) GetCode() int32
- func (m *SearchResponseWrapper) GetCodeExplain() string
- func (m *SearchResponseWrapper) GetData() *SearchResponse
- func (m *SearchResponseWrapper) GetError() string
- func (*SearchResponseWrapper) ProtoMessage()
- func (m *SearchResponseWrapper) Reset()
- func (m *SearchResponseWrapper) String() string
- func (this *SearchResponseWrapper) Validate() error
- func (m *SearchResponseWrapper) XXX_DiscardUnknown()
- func (m *SearchResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SearchResponseWrapper) XXX_Merge(src proto.Message)
- func (m *SearchResponseWrapper) XXX_Size() int
- func (m *SearchResponseWrapper) XXX_Unmarshal(b []byte) error
- type Service
- type UpdateByQueryRequest
- func (*UpdateByQueryRequest) Descriptor() ([]byte, []int)
- func (m *UpdateByQueryRequest) GetQuery() *types.Struct
- func (m *UpdateByQueryRequest) GetUpdate() *types.Struct
- func (*UpdateByQueryRequest) ProtoMessage()
- func (m *UpdateByQueryRequest) Reset()
- func (m *UpdateByQueryRequest) String() string
- func (this *UpdateByQueryRequest) Validate() error
- func (m *UpdateByQueryRequest) XXX_DiscardUnknown()
- func (m *UpdateByQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateByQueryRequest) XXX_Merge(src proto.Message)
- func (m *UpdateByQueryRequest) XXX_Size() int
- func (m *UpdateByQueryRequest) XXX_Unmarshal(b []byte) error
- type UpdateByQueryResponseWrapper
- func (*UpdateByQueryResponseWrapper) Descriptor() ([]byte, []int)
- func (m *UpdateByQueryResponseWrapper) GetCode() int32
- func (m *UpdateByQueryResponseWrapper) GetCodeExplain() string
- func (m *UpdateByQueryResponseWrapper) GetData() *types.Empty
- func (m *UpdateByQueryResponseWrapper) GetError() string
- func (*UpdateByQueryResponseWrapper) ProtoMessage()
- func (m *UpdateByQueryResponseWrapper) Reset()
- func (m *UpdateByQueryResponseWrapper) String() string
- func (this *UpdateByQueryResponseWrapper) Validate() error
- func (m *UpdateByQueryResponseWrapper) XXX_DiscardUnknown()
- func (m *UpdateByQueryResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateByQueryResponseWrapper) XXX_Merge(src proto.Message)
- func (m *UpdateByQueryResponseWrapper) XXX_Size() int
- func (m *UpdateByQueryResponseWrapper) XXX_Unmarshal(b []byte) error
- type UpdateHostUnresolvedRequest
- func (*UpdateHostUnresolvedRequest) Descriptor() ([]byte, []int)
- func (m *UpdateHostUnresolvedRequest) GetAction() string
- func (m *UpdateHostUnresolvedRequest) GetHost() *types.Struct
- func (m *UpdateHostUnresolvedRequest) GetXId() string
- func (*UpdateHostUnresolvedRequest) ProtoMessage()
- func (m *UpdateHostUnresolvedRequest) Reset()
- func (m *UpdateHostUnresolvedRequest) String() string
- func (this *UpdateHostUnresolvedRequest) Validate() error
- func (m *UpdateHostUnresolvedRequest) XXX_DiscardUnknown()
- func (m *UpdateHostUnresolvedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateHostUnresolvedRequest) XXX_Merge(src proto.Message)
- func (m *UpdateHostUnresolvedRequest) XXX_Size() int
- func (m *UpdateHostUnresolvedRequest) XXX_Unmarshal(b []byte) error
- type UpdateHostUnresolvedResponseWrapper
- func (*UpdateHostUnresolvedResponseWrapper) Descriptor() ([]byte, []int)
- func (m *UpdateHostUnresolvedResponseWrapper) GetCode() int32
- func (m *UpdateHostUnresolvedResponseWrapper) GetCodeExplain() string
- func (m *UpdateHostUnresolvedResponseWrapper) GetData() *types.Struct
- func (m *UpdateHostUnresolvedResponseWrapper) GetError() string
- func (*UpdateHostUnresolvedResponseWrapper) ProtoMessage()
- func (m *UpdateHostUnresolvedResponseWrapper) Reset()
- func (m *UpdateHostUnresolvedResponseWrapper) String() string
- func (this *UpdateHostUnresolvedResponseWrapper) Validate() error
- func (m *UpdateHostUnresolvedResponseWrapper) XXX_DiscardUnknown()
- func (m *UpdateHostUnresolvedResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateHostUnresolvedResponseWrapper) XXX_Merge(src proto.Message)
- func (m *UpdateHostUnresolvedResponseWrapper) XXX_Size() int
- func (m *UpdateHostUnresolvedResponseWrapper) XXX_Unmarshal(b []byte) error
- type UpdateOneRequest
- func (*UpdateOneRequest) Descriptor() ([]byte, []int)
- func (m *UpdateOneRequest) GetData() *types.Struct
- func (m *UpdateOneRequest) GetId() string
- func (*UpdateOneRequest) ProtoMessage()
- func (m *UpdateOneRequest) Reset()
- func (m *UpdateOneRequest) String() string
- func (this *UpdateOneRequest) Validate() error
- func (m *UpdateOneRequest) XXX_DiscardUnknown()
- func (m *UpdateOneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateOneRequest) XXX_Merge(src proto.Message)
- func (m *UpdateOneRequest) XXX_Size() int
- func (m *UpdateOneRequest) XXX_Unmarshal(b []byte) error
- type UpdateOneResponseWrapper
- func (*UpdateOneResponseWrapper) Descriptor() ([]byte, []int)
- func (m *UpdateOneResponseWrapper) GetCode() int32
- func (m *UpdateOneResponseWrapper) GetCodeExplain() string
- func (m *UpdateOneResponseWrapper) GetData() *types.Struct
- func (m *UpdateOneResponseWrapper) GetError() string
- func (*UpdateOneResponseWrapper) ProtoMessage()
- func (m *UpdateOneResponseWrapper) Reset()
- func (m *UpdateOneResponseWrapper) String() string
- func (this *UpdateOneResponseWrapper) Validate() error
- func (m *UpdateOneResponseWrapper) XXX_DiscardUnknown()
- func (m *UpdateOneResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateOneResponseWrapper) XXX_Merge(src proto.Message)
- func (m *UpdateOneResponseWrapper) XXX_Size() int
- func (m *UpdateOneResponseWrapper) XXX_Unmarshal(b []byte) error
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 { CreateOne(ctx context.Context, in *CreateOneRequest) (*types.Struct, error) UpdateByQuery(ctx context.Context, in *UpdateByQueryRequest) (*types.Empty, error) UpdateHostUnresolved(ctx context.Context, in *UpdateHostUnresolvedRequest) (*types.Struct, error) UpdateOne(ctx context.Context, in *UpdateOneRequest) (*types.Struct, error) }
Client is the client API for host_resolved 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 CreateOneRequest ¶
type CreateOneRequest struct { // //文档数据内容 Data *types.Struct `protobuf:"bytes,1,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateOne请求
func (*CreateOneRequest) Descriptor ¶
func (*CreateOneRequest) Descriptor() ([]byte, []int)
func (*CreateOneRequest) GetData ¶
func (m *CreateOneRequest) GetData() *types.Struct
func (*CreateOneRequest) ProtoMessage ¶
func (*CreateOneRequest) ProtoMessage()
func (*CreateOneRequest) Reset ¶
func (m *CreateOneRequest) Reset()
func (*CreateOneRequest) String ¶
func (m *CreateOneRequest) String() string
func (*CreateOneRequest) Validate ¶
func (this *CreateOneRequest) Validate() error
func (*CreateOneRequest) XXX_DiscardUnknown ¶
func (m *CreateOneRequest) XXX_DiscardUnknown()
func (*CreateOneRequest) XXX_Marshal ¶
func (m *CreateOneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateOneRequest) XXX_Merge ¶
func (m *CreateOneRequest) XXX_Merge(src proto.Message)
func (*CreateOneRequest) XXX_Size ¶
func (m *CreateOneRequest) XXX_Size() int
func (*CreateOneRequest) XXX_Unmarshal ¶
func (m *CreateOneRequest) XXX_Unmarshal(b []byte) error
type CreateOneResponseWrapper ¶
type CreateOneResponseWrapper 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.Struct `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
CreateOneApi返回
func (*CreateOneResponseWrapper) Descriptor ¶
func (*CreateOneResponseWrapper) Descriptor() ([]byte, []int)
func (*CreateOneResponseWrapper) GetCode ¶
func (m *CreateOneResponseWrapper) GetCode() int32
func (*CreateOneResponseWrapper) GetCodeExplain ¶
func (m *CreateOneResponseWrapper) GetCodeExplain() string
func (*CreateOneResponseWrapper) GetData ¶
func (m *CreateOneResponseWrapper) GetData() *types.Struct
func (*CreateOneResponseWrapper) GetError ¶
func (m *CreateOneResponseWrapper) GetError() string
func (*CreateOneResponseWrapper) ProtoMessage ¶
func (*CreateOneResponseWrapper) ProtoMessage()
func (*CreateOneResponseWrapper) Reset ¶
func (m *CreateOneResponseWrapper) Reset()
func (*CreateOneResponseWrapper) String ¶
func (m *CreateOneResponseWrapper) String() string
func (*CreateOneResponseWrapper) Validate ¶
func (this *CreateOneResponseWrapper) Validate() error
func (*CreateOneResponseWrapper) XXX_DiscardUnknown ¶
func (m *CreateOneResponseWrapper) XXX_DiscardUnknown()
func (*CreateOneResponseWrapper) XXX_Marshal ¶
func (m *CreateOneResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateOneResponseWrapper) XXX_Merge ¶
func (m *CreateOneResponseWrapper) XXX_Merge(src proto.Message)
func (*CreateOneResponseWrapper) XXX_Size ¶
func (m *CreateOneResponseWrapper) XXX_Size() int
func (*CreateOneResponseWrapper) XXX_Unmarshal ¶
func (m *CreateOneResponseWrapper) XXX_Unmarshal(b []byte) error
type SearchRequest ¶
type SearchRequest 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"` // //查询参数 Query *types.Struct `protobuf:"bytes,3,opt,name=query,proto3" json:"query" form:"query"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Search请求
func (*SearchRequest) Descriptor ¶
func (*SearchRequest) Descriptor() ([]byte, []int)
func (*SearchRequest) GetPage ¶
func (m *SearchRequest) GetPage() int32
func (*SearchRequest) GetPageSize ¶
func (m *SearchRequest) GetPageSize() int32
func (*SearchRequest) GetQuery ¶
func (m *SearchRequest) GetQuery() *types.Struct
func (*SearchRequest) ProtoMessage ¶
func (*SearchRequest) ProtoMessage()
func (*SearchRequest) Reset ¶
func (m *SearchRequest) Reset()
func (*SearchRequest) String ¶
func (m *SearchRequest) String() string
func (*SearchRequest) Validate ¶
func (this *SearchRequest) Validate() error
func (*SearchRequest) XXX_DiscardUnknown ¶
func (m *SearchRequest) XXX_DiscardUnknown()
func (*SearchRequest) XXX_Marshal ¶
func (m *SearchRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchRequest) XXX_Merge ¶
func (m *SearchRequest) XXX_Merge(src proto.Message)
func (*SearchRequest) XXX_Size ¶
func (m *SearchRequest) XXX_Size() int
func (*SearchRequest) XXX_Unmarshal ¶
func (m *SearchRequest) XXX_Unmarshal(b []byte) error
type SearchResponse ¶
type SearchResponse 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"` // //总数 Total int32 `protobuf:"varint,3,opt,name=total,proto3" json:"total" form:"total"` // //文档数据 List []*types.Struct `protobuf:"bytes,4,rep,name=list,proto3" json:"list" form:"list"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
Search返回
func (*SearchResponse) Descriptor ¶
func (*SearchResponse) Descriptor() ([]byte, []int)
func (*SearchResponse) GetList ¶
func (m *SearchResponse) GetList() []*types.Struct
func (*SearchResponse) GetPage ¶
func (m *SearchResponse) GetPage() int32
func (*SearchResponse) GetPageSize ¶
func (m *SearchResponse) GetPageSize() int32
func (*SearchResponse) GetTotal ¶
func (m *SearchResponse) GetTotal() int32
func (*SearchResponse) ProtoMessage ¶
func (*SearchResponse) ProtoMessage()
func (*SearchResponse) Reset ¶
func (m *SearchResponse) Reset()
func (*SearchResponse) String ¶
func (m *SearchResponse) String() string
func (*SearchResponse) Validate ¶
func (this *SearchResponse) Validate() error
func (*SearchResponse) XXX_DiscardUnknown ¶
func (m *SearchResponse) XXX_DiscardUnknown()
func (*SearchResponse) XXX_Marshal ¶
func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchResponse) XXX_Merge ¶
func (m *SearchResponse) XXX_Merge(src proto.Message)
func (*SearchResponse) XXX_Size ¶
func (m *SearchResponse) XXX_Size() int
func (*SearchResponse) XXX_Unmarshal ¶
func (m *SearchResponse) XXX_Unmarshal(b []byte) error
type SearchResponseWrapper ¶
type SearchResponseWrapper 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 *SearchResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
SearchApi返回
func (*SearchResponseWrapper) Descriptor ¶
func (*SearchResponseWrapper) Descriptor() ([]byte, []int)
func (*SearchResponseWrapper) GetCode ¶
func (m *SearchResponseWrapper) GetCode() int32
func (*SearchResponseWrapper) GetCodeExplain ¶
func (m *SearchResponseWrapper) GetCodeExplain() string
func (*SearchResponseWrapper) GetData ¶
func (m *SearchResponseWrapper) GetData() *SearchResponse
func (*SearchResponseWrapper) GetError ¶
func (m *SearchResponseWrapper) GetError() string
func (*SearchResponseWrapper) ProtoMessage ¶
func (*SearchResponseWrapper) ProtoMessage()
func (*SearchResponseWrapper) Reset ¶
func (m *SearchResponseWrapper) Reset()
func (*SearchResponseWrapper) String ¶
func (m *SearchResponseWrapper) String() string
func (*SearchResponseWrapper) Validate ¶
func (this *SearchResponseWrapper) Validate() error
func (*SearchResponseWrapper) XXX_DiscardUnknown ¶
func (m *SearchResponseWrapper) XXX_DiscardUnknown()
func (*SearchResponseWrapper) XXX_Marshal ¶
func (m *SearchResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*SearchResponseWrapper) XXX_Merge ¶
func (m *SearchResponseWrapper) XXX_Merge(src proto.Message)
func (*SearchResponseWrapper) XXX_Size ¶
func (m *SearchResponseWrapper) XXX_Size() int
func (*SearchResponseWrapper) XXX_Unmarshal ¶
func (m *SearchResponseWrapper) XXX_Unmarshal(b []byte) error
type Service ¶
type Service interface { CreateOne(context.Context, *CreateOneRequest) (*types.Struct, error) UpdateByQuery(context.Context, *UpdateByQueryRequest) (*types.Empty, error) UpdateHostUnresolved(context.Context, *UpdateHostUnresolvedRequest) (*types.Struct, error) UpdateOne(context.Context, *UpdateOneRequest) (*types.Struct, error) }
Service is the server API for host_resolved service.
type UpdateByQueryRequest ¶
type UpdateByQueryRequest struct { // //更新条件 Query *types.Struct `protobuf:"bytes,1,opt,name=query,proto3" json:"query" form:"query"` // //文档数据内容 Update *types.Struct `protobuf:"bytes,2,opt,name=update,proto3" json:"update" form:"update"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateByQuery请求
func (*UpdateByQueryRequest) Descriptor ¶
func (*UpdateByQueryRequest) Descriptor() ([]byte, []int)
func (*UpdateByQueryRequest) GetQuery ¶
func (m *UpdateByQueryRequest) GetQuery() *types.Struct
func (*UpdateByQueryRequest) GetUpdate ¶
func (m *UpdateByQueryRequest) GetUpdate() *types.Struct
func (*UpdateByQueryRequest) ProtoMessage ¶
func (*UpdateByQueryRequest) ProtoMessage()
func (*UpdateByQueryRequest) Reset ¶
func (m *UpdateByQueryRequest) Reset()
func (*UpdateByQueryRequest) String ¶
func (m *UpdateByQueryRequest) String() string
func (*UpdateByQueryRequest) Validate ¶
func (this *UpdateByQueryRequest) Validate() error
func (*UpdateByQueryRequest) XXX_DiscardUnknown ¶
func (m *UpdateByQueryRequest) XXX_DiscardUnknown()
func (*UpdateByQueryRequest) XXX_Marshal ¶
func (m *UpdateByQueryRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateByQueryRequest) XXX_Merge ¶
func (m *UpdateByQueryRequest) XXX_Merge(src proto.Message)
func (*UpdateByQueryRequest) XXX_Size ¶
func (m *UpdateByQueryRequest) XXX_Size() int
func (*UpdateByQueryRequest) XXX_Unmarshal ¶
func (m *UpdateByQueryRequest) XXX_Unmarshal(b []byte) error
type UpdateByQueryResponseWrapper ¶
type UpdateByQueryResponseWrapper 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:"-"` }
UpdateByQueryApi返回
func (*UpdateByQueryResponseWrapper) Descriptor ¶
func (*UpdateByQueryResponseWrapper) Descriptor() ([]byte, []int)
func (*UpdateByQueryResponseWrapper) GetCode ¶
func (m *UpdateByQueryResponseWrapper) GetCode() int32
func (*UpdateByQueryResponseWrapper) GetCodeExplain ¶
func (m *UpdateByQueryResponseWrapper) GetCodeExplain() string
func (*UpdateByQueryResponseWrapper) GetData ¶
func (m *UpdateByQueryResponseWrapper) GetData() *types.Empty
func (*UpdateByQueryResponseWrapper) GetError ¶
func (m *UpdateByQueryResponseWrapper) GetError() string
func (*UpdateByQueryResponseWrapper) ProtoMessage ¶
func (*UpdateByQueryResponseWrapper) ProtoMessage()
func (*UpdateByQueryResponseWrapper) Reset ¶
func (m *UpdateByQueryResponseWrapper) Reset()
func (*UpdateByQueryResponseWrapper) String ¶
func (m *UpdateByQueryResponseWrapper) String() string
func (*UpdateByQueryResponseWrapper) Validate ¶
func (this *UpdateByQueryResponseWrapper) Validate() error
func (*UpdateByQueryResponseWrapper) XXX_DiscardUnknown ¶
func (m *UpdateByQueryResponseWrapper) XXX_DiscardUnknown()
func (*UpdateByQueryResponseWrapper) XXX_Marshal ¶
func (m *UpdateByQueryResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateByQueryResponseWrapper) XXX_Merge ¶
func (m *UpdateByQueryResponseWrapper) XXX_Merge(src proto.Message)
func (*UpdateByQueryResponseWrapper) XXX_Size ¶
func (m *UpdateByQueryResponseWrapper) XXX_Size() int
func (*UpdateByQueryResponseWrapper) XXX_Unmarshal ¶
func (m *UpdateByQueryResponseWrapper) XXX_Unmarshal(b []byte) error
type UpdateHostUnresolvedRequest ¶
type UpdateHostUnresolvedRequest struct { // //操作类型 Action string `protobuf:"bytes,1,opt,name=action,proto3" json:"action" form:"action"` // //主机数据 Host *types.Struct `protobuf:"bytes,2,opt,name=host,proto3" json:"host" form:"host"` // //id XId string `protobuf:"bytes,3,opt,name=_id,json=Id,proto3" json:"_id" form:"_id"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateHostUnresolved请求
func (*UpdateHostUnresolvedRequest) Descriptor ¶
func (*UpdateHostUnresolvedRequest) Descriptor() ([]byte, []int)
func (*UpdateHostUnresolvedRequest) GetAction ¶
func (m *UpdateHostUnresolvedRequest) GetAction() string
func (*UpdateHostUnresolvedRequest) GetHost ¶
func (m *UpdateHostUnresolvedRequest) GetHost() *types.Struct
func (*UpdateHostUnresolvedRequest) GetXId ¶
func (m *UpdateHostUnresolvedRequest) GetXId() string
func (*UpdateHostUnresolvedRequest) ProtoMessage ¶
func (*UpdateHostUnresolvedRequest) ProtoMessage()
func (*UpdateHostUnresolvedRequest) Reset ¶
func (m *UpdateHostUnresolvedRequest) Reset()
func (*UpdateHostUnresolvedRequest) String ¶
func (m *UpdateHostUnresolvedRequest) String() string
func (*UpdateHostUnresolvedRequest) Validate ¶
func (this *UpdateHostUnresolvedRequest) Validate() error
func (*UpdateHostUnresolvedRequest) XXX_DiscardUnknown ¶
func (m *UpdateHostUnresolvedRequest) XXX_DiscardUnknown()
func (*UpdateHostUnresolvedRequest) XXX_Marshal ¶
func (m *UpdateHostUnresolvedRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateHostUnresolvedRequest) XXX_Merge ¶
func (m *UpdateHostUnresolvedRequest) XXX_Merge(src proto.Message)
func (*UpdateHostUnresolvedRequest) XXX_Size ¶
func (m *UpdateHostUnresolvedRequest) XXX_Size() int
func (*UpdateHostUnresolvedRequest) XXX_Unmarshal ¶
func (m *UpdateHostUnresolvedRequest) XXX_Unmarshal(b []byte) error
type UpdateHostUnresolvedResponseWrapper ¶
type UpdateHostUnresolvedResponseWrapper 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.Struct `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateHostUnresolvedApi返回
func (*UpdateHostUnresolvedResponseWrapper) Descriptor ¶
func (*UpdateHostUnresolvedResponseWrapper) Descriptor() ([]byte, []int)
func (*UpdateHostUnresolvedResponseWrapper) GetCode ¶
func (m *UpdateHostUnresolvedResponseWrapper) GetCode() int32
func (*UpdateHostUnresolvedResponseWrapper) GetCodeExplain ¶
func (m *UpdateHostUnresolvedResponseWrapper) GetCodeExplain() string
func (*UpdateHostUnresolvedResponseWrapper) GetData ¶
func (m *UpdateHostUnresolvedResponseWrapper) GetData() *types.Struct
func (*UpdateHostUnresolvedResponseWrapper) GetError ¶
func (m *UpdateHostUnresolvedResponseWrapper) GetError() string
func (*UpdateHostUnresolvedResponseWrapper) ProtoMessage ¶
func (*UpdateHostUnresolvedResponseWrapper) ProtoMessage()
func (*UpdateHostUnresolvedResponseWrapper) Reset ¶
func (m *UpdateHostUnresolvedResponseWrapper) Reset()
func (*UpdateHostUnresolvedResponseWrapper) String ¶
func (m *UpdateHostUnresolvedResponseWrapper) String() string
func (*UpdateHostUnresolvedResponseWrapper) Validate ¶
func (this *UpdateHostUnresolvedResponseWrapper) Validate() error
func (*UpdateHostUnresolvedResponseWrapper) XXX_DiscardUnknown ¶
func (m *UpdateHostUnresolvedResponseWrapper) XXX_DiscardUnknown()
func (*UpdateHostUnresolvedResponseWrapper) XXX_Marshal ¶
func (m *UpdateHostUnresolvedResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateHostUnresolvedResponseWrapper) XXX_Merge ¶
func (m *UpdateHostUnresolvedResponseWrapper) XXX_Merge(src proto.Message)
func (*UpdateHostUnresolvedResponseWrapper) XXX_Size ¶
func (m *UpdateHostUnresolvedResponseWrapper) XXX_Size() int
func (*UpdateHostUnresolvedResponseWrapper) XXX_Unmarshal ¶
func (m *UpdateHostUnresolvedResponseWrapper) XXX_Unmarshal(b []byte) error
type UpdateOneRequest ¶
type UpdateOneRequest struct { // //文档Id Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id" form:"id"` // //文档数据内容 Data *types.Struct `protobuf:"bytes,2,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateOne请求
func (*UpdateOneRequest) Descriptor ¶
func (*UpdateOneRequest) Descriptor() ([]byte, []int)
func (*UpdateOneRequest) GetData ¶
func (m *UpdateOneRequest) GetData() *types.Struct
func (*UpdateOneRequest) GetId ¶
func (m *UpdateOneRequest) GetId() string
func (*UpdateOneRequest) ProtoMessage ¶
func (*UpdateOneRequest) ProtoMessage()
func (*UpdateOneRequest) Reset ¶
func (m *UpdateOneRequest) Reset()
func (*UpdateOneRequest) String ¶
func (m *UpdateOneRequest) String() string
func (*UpdateOneRequest) Validate ¶
func (this *UpdateOneRequest) Validate() error
func (*UpdateOneRequest) XXX_DiscardUnknown ¶
func (m *UpdateOneRequest) XXX_DiscardUnknown()
func (*UpdateOneRequest) XXX_Marshal ¶
func (m *UpdateOneRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateOneRequest) XXX_Merge ¶
func (m *UpdateOneRequest) XXX_Merge(src proto.Message)
func (*UpdateOneRequest) XXX_Size ¶
func (m *UpdateOneRequest) XXX_Size() int
func (*UpdateOneRequest) XXX_Unmarshal ¶
func (m *UpdateOneRequest) XXX_Unmarshal(b []byte) error
type UpdateOneResponseWrapper ¶
type UpdateOneResponseWrapper 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.Struct `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"` XXX_NoUnkeyedLiteral struct{} `json:"-"` XXX_unrecognized []byte `json:"-"` XXX_sizecache int32 `json:"-"` }
UpdateOneApi返回
func (*UpdateOneResponseWrapper) Descriptor ¶
func (*UpdateOneResponseWrapper) Descriptor() ([]byte, []int)
func (*UpdateOneResponseWrapper) GetCode ¶
func (m *UpdateOneResponseWrapper) GetCode() int32
func (*UpdateOneResponseWrapper) GetCodeExplain ¶
func (m *UpdateOneResponseWrapper) GetCodeExplain() string
func (*UpdateOneResponseWrapper) GetData ¶
func (m *UpdateOneResponseWrapper) GetData() *types.Struct
func (*UpdateOneResponseWrapper) GetError ¶
func (m *UpdateOneResponseWrapper) GetError() string
func (*UpdateOneResponseWrapper) ProtoMessage ¶
func (*UpdateOneResponseWrapper) ProtoMessage()
func (*UpdateOneResponseWrapper) Reset ¶
func (m *UpdateOneResponseWrapper) Reset()
func (*UpdateOneResponseWrapper) String ¶
func (m *UpdateOneResponseWrapper) String() string
func (*UpdateOneResponseWrapper) Validate ¶
func (this *UpdateOneResponseWrapper) Validate() error
func (*UpdateOneResponseWrapper) XXX_DiscardUnknown ¶
func (m *UpdateOneResponseWrapper) XXX_DiscardUnknown()
func (*UpdateOneResponseWrapper) XXX_Marshal ¶
func (m *UpdateOneResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateOneResponseWrapper) XXX_Merge ¶
func (m *UpdateOneResponseWrapper) XXX_Merge(src proto.Message)
func (*UpdateOneResponseWrapper) XXX_Size ¶
func (m *UpdateOneResponseWrapper) XXX_Size() int
func (*UpdateOneResponseWrapper) XXX_Unmarshal ¶
func (m *UpdateOneResponseWrapper) XXX_Unmarshal(b []byte) error
Source Files
¶
Click to show internal directories.
Click to hide internal directories.