Documentation ¶
Index ¶
- Constants
- Variables
- func RegisterProductHTTPServer(s *http.Server, srv ProductHTTPServer)
- func RegisterProductServer(s grpc.ServiceRegistrar, srv ProductServer)
- type Attribute
- func (*Attribute) Descriptor() ([]byte, []int)deprecated
- func (x *Attribute) GetCreatedAt() string
- func (x *Attribute) GetDeletedAt() string
- func (x *Attribute) GetId() uint64
- func (x *Attribute) GetName() string
- func (x *Attribute) GetProductInfoId() uint64
- func (x *Attribute) GetUpdatedAt() string
- func (*Attribute) ProtoMessage()
- func (x *Attribute) ProtoReflect() protoreflect.Message
- func (x *Attribute) Reset()
- func (x *Attribute) String() string
- func (m *Attribute) Validate() error
- func (m *Attribute) ValidateAll() error
- type AttributeMultiError
- type AttributeValidationError
- type CategoryInfo
- func (*CategoryInfo) Descriptor() ([]byte, []int)deprecated
- func (x *CategoryInfo) GetCreatedAt() string
- func (x *CategoryInfo) GetDeletedAt() string
- func (x *CategoryInfo) GetId() uint64
- func (x *CategoryInfo) GetName() string
- func (x *CategoryInfo) GetPrice() uint64
- func (x *CategoryInfo) GetProductId() uint64
- func (x *CategoryInfo) GetSort() uint64
- func (x *CategoryInfo) GetStep() string
- func (x *CategoryInfo) GetUnit() string
- func (x *CategoryInfo) GetUpdatedAt() string
- func (*CategoryInfo) ProtoMessage()
- func (x *CategoryInfo) ProtoReflect() protoreflect.Message
- func (x *CategoryInfo) Reset()
- func (x *CategoryInfo) String() string
- func (m *CategoryInfo) Validate() error
- func (m *CategoryInfo) ValidateAll() error
- type CategoryInfoMultiError
- type CategoryInfoValidationError
- func (e CategoryInfoValidationError) Cause() error
- func (e CategoryInfoValidationError) Error() string
- func (e CategoryInfoValidationError) ErrorName() string
- func (e CategoryInfoValidationError) Field() string
- func (e CategoryInfoValidationError) Key() bool
- func (e CategoryInfoValidationError) Reason() string
- type CreateAttributeReq
- func (*CreateAttributeReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateAttributeReq) GetName() string
- func (x *CreateAttributeReq) GetProductInfoId() uint64
- func (*CreateAttributeReq) ProtoMessage()
- func (x *CreateAttributeReq) ProtoReflect() protoreflect.Message
- func (x *CreateAttributeReq) Reset()
- func (x *CreateAttributeReq) String() string
- func (m *CreateAttributeReq) Validate() error
- func (m *CreateAttributeReq) ValidateAll() error
- type CreateAttributeReqMultiError
- type CreateAttributeReqValidationError
- func (e CreateAttributeReqValidationError) Cause() error
- func (e CreateAttributeReqValidationError) Error() string
- func (e CreateAttributeReqValidationError) ErrorName() string
- func (e CreateAttributeReqValidationError) Field() string
- func (e CreateAttributeReqValidationError) Key() bool
- func (e CreateAttributeReqValidationError) Reason() string
- type CreateCategoryReq
- func (*CreateCategoryReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateCategoryReq) GetName() string
- func (x *CreateCategoryReq) GetPrice() uint64
- func (x *CreateCategoryReq) GetProductId() uint64
- func (x *CreateCategoryReq) GetSort() uint64
- func (x *CreateCategoryReq) GetStep() string
- func (x *CreateCategoryReq) GetUnit() string
- func (*CreateCategoryReq) ProtoMessage()
- func (x *CreateCategoryReq) ProtoReflect() protoreflect.Message
- func (x *CreateCategoryReq) Reset()
- func (x *CreateCategoryReq) String() string
- func (m *CreateCategoryReq) Validate() error
- func (m *CreateCategoryReq) ValidateAll() error
- type CreateCategoryReqMultiError
- type CreateCategoryReqValidationError
- func (e CreateCategoryReqValidationError) Cause() error
- func (e CreateCategoryReqValidationError) Error() string
- func (e CreateCategoryReqValidationError) ErrorName() string
- func (e CreateCategoryReqValidationError) Field() string
- func (e CreateCategoryReqValidationError) Key() bool
- func (e CreateCategoryReqValidationError) Reason() string
- type CreateKindReq
- func (*CreateKindReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateKindReq) GetName() string
- func (*CreateKindReq) ProtoMessage()
- func (x *CreateKindReq) ProtoReflect() protoreflect.Message
- func (x *CreateKindReq) Reset()
- func (x *CreateKindReq) String() string
- func (m *CreateKindReq) Validate() error
- func (m *CreateKindReq) ValidateAll() error
- type CreateKindReqMultiError
- type CreateKindReqValidationError
- func (e CreateKindReqValidationError) Cause() error
- func (e CreateKindReqValidationError) Error() string
- func (e CreateKindReqValidationError) ErrorName() string
- func (e CreateKindReqValidationError) Field() string
- func (e CreateKindReqValidationError) Key() bool
- func (e CreateKindReqValidationError) Reason() string
- type CreateProductInfoReq
- func (*CreateProductInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProductInfoReq) GetCategoryId() uint64
- func (x *CreateProductInfoReq) GetControl() uint64
- func (x *CreateProductInfoReq) GetDescription() string
- func (x *CreateProductInfoReq) GetImg() string
- func (x *CreateProductInfoReq) GetKeywords() string
- func (x *CreateProductInfoReq) GetKindId() uint64
- func (x *CreateProductInfoReq) GetNum() uint64
- func (x *CreateProductInfoReq) GetPath() string
- func (x *CreateProductInfoReq) GetProductId() uint64
- func (x *CreateProductInfoReq) GetSort() uint64
- func (*CreateProductInfoReq) ProtoMessage()
- func (x *CreateProductInfoReq) ProtoReflect() protoreflect.Message
- func (x *CreateProductInfoReq) Reset()
- func (x *CreateProductInfoReq) String() string
- func (m *CreateProductInfoReq) Validate() error
- func (m *CreateProductInfoReq) ValidateAll() error
- type CreateProductInfoReqMultiError
- type CreateProductInfoReqValidationError
- func (e CreateProductInfoReqValidationError) Cause() error
- func (e CreateProductInfoReqValidationError) Error() string
- func (e CreateProductInfoReqValidationError) ErrorName() string
- func (e CreateProductInfoReqValidationError) Field() string
- func (e CreateProductInfoReqValidationError) Key() bool
- func (e CreateProductInfoReqValidationError) Reason() string
- type CreateProductReq
- func (*CreateProductReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProductReq) GetDescription() string
- func (x *CreateProductReq) GetKeyword() string
- func (x *CreateProductReq) GetKindId() uint64
- func (x *CreateProductReq) GetName() string
- func (x *CreateProductReq) GetPath() string
- func (*CreateProductReq) ProtoMessage()
- func (x *CreateProductReq) ProtoReflect() protoreflect.Message
- func (x *CreateProductReq) Reset()
- func (x *CreateProductReq) String() string
- func (m *CreateProductReq) Validate() error
- func (m *CreateProductReq) ValidateAll() error
- type CreateProductReqMultiError
- type CreateProductReqValidationError
- func (e CreateProductReqValidationError) Cause() error
- func (e CreateProductReqValidationError) Error() string
- func (e CreateProductReqValidationError) ErrorName() string
- func (e CreateProductReqValidationError) Field() string
- func (e CreateProductReqValidationError) Key() bool
- func (e CreateProductReqValidationError) Reason() string
- type CreateProductTerminalReq
- func (*CreateProductTerminalReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateProductTerminalReq) GetProductId() uint64
- func (x *CreateProductTerminalReq) GetRegionId() uint64
- func (x *CreateProductTerminalReq) GetTerminalId() uint64
- func (*CreateProductTerminalReq) ProtoMessage()
- func (x *CreateProductTerminalReq) ProtoReflect() protoreflect.Message
- func (x *CreateProductTerminalReq) Reset()
- func (x *CreateProductTerminalReq) String() string
- func (m *CreateProductTerminalReq) Validate() error
- func (m *CreateProductTerminalReq) ValidateAll() error
- type CreateProductTerminalReqMultiError
- type CreateProductTerminalReqValidationError
- func (e CreateProductTerminalReqValidationError) Cause() error
- func (e CreateProductTerminalReqValidationError) Error() string
- func (e CreateProductTerminalReqValidationError) ErrorName() string
- func (e CreateProductTerminalReqValidationError) Field() string
- func (e CreateProductTerminalReqValidationError) Key() bool
- func (e CreateProductTerminalReqValidationError) Reason() string
- type CreateRegionReq
- func (*CreateRegionReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateRegionReq) GetCountry() string
- func (x *CreateRegionReq) GetName() string
- func (x *CreateRegionReq) GetPrice() uint64
- func (x *CreateRegionReq) GetProductId() uint64
- func (x *CreateRegionReq) GetSort() uint64
- func (x *CreateRegionReq) GetStep() string
- func (*CreateRegionReq) ProtoMessage()
- func (x *CreateRegionReq) ProtoReflect() protoreflect.Message
- func (x *CreateRegionReq) Reset()
- func (x *CreateRegionReq) String() string
- func (m *CreateRegionReq) Validate() error
- func (m *CreateRegionReq) ValidateAll() error
- type CreateRegionReqMultiError
- type CreateRegionReqValidationError
- func (e CreateRegionReqValidationError) Cause() error
- func (e CreateRegionReqValidationError) Error() string
- func (e CreateRegionReqValidationError) ErrorName() string
- func (e CreateRegionReqValidationError) Field() string
- func (e CreateRegionReqValidationError) Key() bool
- func (e CreateRegionReqValidationError) Reason() string
- type CreateTerminalReq
- func (*CreateTerminalReq) Descriptor() ([]byte, []int)deprecated
- func (x *CreateTerminalReq) GetDescription() string
- func (x *CreateTerminalReq) GetImg() string
- func (x *CreateTerminalReq) GetKeywords() string
- func (x *CreateTerminalReq) GetName() string
- func (x *CreateTerminalReq) GetSort() uint64
- func (*CreateTerminalReq) ProtoMessage()
- func (x *CreateTerminalReq) ProtoReflect() protoreflect.Message
- func (x *CreateTerminalReq) Reset()
- func (x *CreateTerminalReq) String() string
- func (m *CreateTerminalReq) Validate() error
- func (m *CreateTerminalReq) ValidateAll() error
- type CreateTerminalReqMultiError
- type CreateTerminalReqValidationError
- func (e CreateTerminalReqValidationError) Cause() error
- func (e CreateTerminalReqValidationError) Error() string
- func (e CreateTerminalReqValidationError) ErrorName() string
- func (e CreateTerminalReqValidationError) Field() string
- func (e CreateTerminalReqValidationError) Key() bool
- func (e CreateTerminalReqValidationError) Reason() string
- type DelIdReq
- func (*DelIdReq) Descriptor() ([]byte, []int)deprecated
- func (x *DelIdReq) GetId() uint64
- func (*DelIdReq) ProtoMessage()
- func (x *DelIdReq) ProtoReflect() protoreflect.Message
- func (x *DelIdReq) Reset()
- func (x *DelIdReq) String() string
- func (m *DelIdReq) Validate() error
- func (m *DelIdReq) ValidateAll() error
- type DelIdReqMultiError
- type DelIdReqValidationError
- type EditAttributeReq
- func (*EditAttributeReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditAttributeReq) GetId() uint64
- func (x *EditAttributeReq) GetName() string
- func (x *EditAttributeReq) GetProductInfoId() uint64
- func (*EditAttributeReq) ProtoMessage()
- func (x *EditAttributeReq) ProtoReflect() protoreflect.Message
- func (x *EditAttributeReq) Reset()
- func (x *EditAttributeReq) String() string
- func (m *EditAttributeReq) Validate() error
- func (m *EditAttributeReq) ValidateAll() error
- type EditAttributeReqMultiError
- type EditAttributeReqValidationError
- func (e EditAttributeReqValidationError) Cause() error
- func (e EditAttributeReqValidationError) Error() string
- func (e EditAttributeReqValidationError) ErrorName() string
- func (e EditAttributeReqValidationError) Field() string
- func (e EditAttributeReqValidationError) Key() bool
- func (e EditAttributeReqValidationError) Reason() string
- type EditCategoryReq
- func (*EditCategoryReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditCategoryReq) GetId() uint64
- func (x *EditCategoryReq) GetName() string
- func (x *EditCategoryReq) GetPrice() uint64
- func (x *EditCategoryReq) GetProductId() uint64
- func (x *EditCategoryReq) GetSort() uint64
- func (x *EditCategoryReq) GetStep() string
- func (x *EditCategoryReq) GetUnit() string
- func (*EditCategoryReq) ProtoMessage()
- func (x *EditCategoryReq) ProtoReflect() protoreflect.Message
- func (x *EditCategoryReq) Reset()
- func (x *EditCategoryReq) String() string
- func (m *EditCategoryReq) Validate() error
- func (m *EditCategoryReq) ValidateAll() error
- type EditCategoryReqMultiError
- type EditCategoryReqValidationError
- func (e EditCategoryReqValidationError) Cause() error
- func (e EditCategoryReqValidationError) Error() string
- func (e EditCategoryReqValidationError) ErrorName() string
- func (e EditCategoryReqValidationError) Field() string
- func (e EditCategoryReqValidationError) Key() bool
- func (e EditCategoryReqValidationError) Reason() string
- type EditKindReq
- func (*EditKindReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditKindReq) GetId() uint64
- func (x *EditKindReq) GetName() string
- func (*EditKindReq) ProtoMessage()
- func (x *EditKindReq) ProtoReflect() protoreflect.Message
- func (x *EditKindReq) Reset()
- func (x *EditKindReq) String() string
- func (m *EditKindReq) Validate() error
- func (m *EditKindReq) ValidateAll() error
- type EditKindReqMultiError
- type EditKindReqValidationError
- func (e EditKindReqValidationError) Cause() error
- func (e EditKindReqValidationError) Error() string
- func (e EditKindReqValidationError) ErrorName() string
- func (e EditKindReqValidationError) Field() string
- func (e EditKindReqValidationError) Key() bool
- func (e EditKindReqValidationError) Reason() string
- type EditProductInfoReq
- func (*EditProductInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditProductInfoReq) GetCategoryId() uint64
- func (x *EditProductInfoReq) GetControl() uint64
- func (x *EditProductInfoReq) GetDescription() string
- func (x *EditProductInfoReq) GetId() uint64
- func (x *EditProductInfoReq) GetImg() string
- func (x *EditProductInfoReq) GetKeywords() string
- func (x *EditProductInfoReq) GetKindId() uint64
- func (x *EditProductInfoReq) GetNum() uint64
- func (x *EditProductInfoReq) GetPath() string
- func (x *EditProductInfoReq) GetProductId() uint64
- func (x *EditProductInfoReq) GetSort() uint64
- func (*EditProductInfoReq) ProtoMessage()
- func (x *EditProductInfoReq) ProtoReflect() protoreflect.Message
- func (x *EditProductInfoReq) Reset()
- func (x *EditProductInfoReq) String() string
- func (m *EditProductInfoReq) Validate() error
- func (m *EditProductInfoReq) ValidateAll() error
- type EditProductInfoReqMultiError
- type EditProductInfoReqValidationError
- func (e EditProductInfoReqValidationError) Cause() error
- func (e EditProductInfoReqValidationError) Error() string
- func (e EditProductInfoReqValidationError) ErrorName() string
- func (e EditProductInfoReqValidationError) Field() string
- func (e EditProductInfoReqValidationError) Key() bool
- func (e EditProductInfoReqValidationError) Reason() string
- type EditProductReq
- func (*EditProductReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditProductReq) GetDescription() string
- func (x *EditProductReq) GetId() uint64
- func (x *EditProductReq) GetKeywords() string
- func (x *EditProductReq) GetKindId() uint64
- func (x *EditProductReq) GetName() string
- func (x *EditProductReq) GetPath() string
- func (*EditProductReq) ProtoMessage()
- func (x *EditProductReq) ProtoReflect() protoreflect.Message
- func (x *EditProductReq) Reset()
- func (x *EditProductReq) String() string
- func (m *EditProductReq) Validate() error
- func (m *EditProductReq) ValidateAll() error
- type EditProductReqMultiError
- type EditProductReqValidationError
- func (e EditProductReqValidationError) Cause() error
- func (e EditProductReqValidationError) Error() string
- func (e EditProductReqValidationError) ErrorName() string
- func (e EditProductReqValidationError) Field() string
- func (e EditProductReqValidationError) Key() bool
- func (e EditProductReqValidationError) Reason() string
- type EditProductTerminalReq
- func (*EditProductTerminalReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditProductTerminalReq) GetId() uint64
- func (x *EditProductTerminalReq) GetProductId() uint64
- func (x *EditProductTerminalReq) GetRegionId() uint64
- func (x *EditProductTerminalReq) GetTerminalId() uint64
- func (*EditProductTerminalReq) ProtoMessage()
- func (x *EditProductTerminalReq) ProtoReflect() protoreflect.Message
- func (x *EditProductTerminalReq) Reset()
- func (x *EditProductTerminalReq) String() string
- func (m *EditProductTerminalReq) Validate() error
- func (m *EditProductTerminalReq) ValidateAll() error
- type EditProductTerminalReqMultiError
- type EditProductTerminalReqValidationError
- func (e EditProductTerminalReqValidationError) Cause() error
- func (e EditProductTerminalReqValidationError) Error() string
- func (e EditProductTerminalReqValidationError) ErrorName() string
- func (e EditProductTerminalReqValidationError) Field() string
- func (e EditProductTerminalReqValidationError) Key() bool
- func (e EditProductTerminalReqValidationError) Reason() string
- type EditRegionReq
- func (*EditRegionReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditRegionReq) GetCountry() string
- func (x *EditRegionReq) GetId() uint64
- func (x *EditRegionReq) GetName() string
- func (x *EditRegionReq) GetPrice() uint64
- func (x *EditRegionReq) GetProductId() uint64
- func (x *EditRegionReq) GetSort() uint64
- func (x *EditRegionReq) GetStep() string
- func (*EditRegionReq) ProtoMessage()
- func (x *EditRegionReq) ProtoReflect() protoreflect.Message
- func (x *EditRegionReq) Reset()
- func (x *EditRegionReq) String() string
- func (m *EditRegionReq) Validate() error
- func (m *EditRegionReq) ValidateAll() error
- type EditRegionReqMultiError
- type EditRegionReqValidationError
- func (e EditRegionReqValidationError) Cause() error
- func (e EditRegionReqValidationError) Error() string
- func (e EditRegionReqValidationError) ErrorName() string
- func (e EditRegionReqValidationError) Field() string
- func (e EditRegionReqValidationError) Key() bool
- func (e EditRegionReqValidationError) Reason() string
- type EditTerminalReq
- func (*EditTerminalReq) Descriptor() ([]byte, []int)deprecated
- func (x *EditTerminalReq) GetDescription() string
- func (x *EditTerminalReq) GetId() uint64
- func (x *EditTerminalReq) GetImg() string
- func (x *EditTerminalReq) GetKeywords() string
- func (x *EditTerminalReq) GetName() string
- func (x *EditTerminalReq) GetSort() uint64
- func (*EditTerminalReq) ProtoMessage()
- func (x *EditTerminalReq) ProtoReflect() protoreflect.Message
- func (x *EditTerminalReq) Reset()
- func (x *EditTerminalReq) String() string
- func (m *EditTerminalReq) Validate() error
- func (m *EditTerminalReq) ValidateAll() error
- type EditTerminalReqMultiError
- type EditTerminalReqValidationError
- func (e EditTerminalReqValidationError) Cause() error
- func (e EditTerminalReqValidationError) Error() string
- func (e EditTerminalReqValidationError) ErrorName() string
- func (e EditTerminalReqValidationError) Field() string
- func (e EditTerminalReqValidationError) Key() bool
- func (e EditTerminalReqValidationError) Reason() string
- type Kind
- func (*Kind) Descriptor() ([]byte, []int)deprecated
- func (x *Kind) GetCreatedAt() string
- func (x *Kind) GetDeletedAt() string
- func (x *Kind) GetId() uint64
- func (x *Kind) GetName() string
- func (x *Kind) GetUpdatedAt() string
- func (*Kind) ProtoMessage()
- func (x *Kind) ProtoReflect() protoreflect.Message
- func (x *Kind) Reset()
- func (x *Kind) String() string
- func (m *Kind) Validate() error
- func (m *Kind) ValidateAll() error
- type KindMultiError
- type KindValidationError
- type ListAttributeRep
- func (*ListAttributeRep) Descriptor() ([]byte, []int)deprecated
- func (x *ListAttributeRep) GetList() []*Attribute
- func (*ListAttributeRep) ProtoMessage()
- func (x *ListAttributeRep) ProtoReflect() protoreflect.Message
- func (x *ListAttributeRep) Reset()
- func (x *ListAttributeRep) String() string
- func (m *ListAttributeRep) Validate() error
- func (m *ListAttributeRep) ValidateAll() error
- type ListAttributeRepMultiError
- type ListAttributeRepValidationError
- func (e ListAttributeRepValidationError) Cause() error
- func (e ListAttributeRepValidationError) Error() string
- func (e ListAttributeRepValidationError) ErrorName() string
- func (e ListAttributeRepValidationError) Field() string
- func (e ListAttributeRepValidationError) Key() bool
- func (e ListAttributeRepValidationError) Reason() string
- type ListCategoryRep
- func (*ListCategoryRep) Descriptor() ([]byte, []int)deprecated
- func (x *ListCategoryRep) GetList() []*CategoryInfo
- func (*ListCategoryRep) ProtoMessage()
- func (x *ListCategoryRep) ProtoReflect() protoreflect.Message
- func (x *ListCategoryRep) Reset()
- func (x *ListCategoryRep) String() string
- func (m *ListCategoryRep) Validate() error
- func (m *ListCategoryRep) ValidateAll() error
- type ListCategoryRepMultiError
- type ListCategoryRepValidationError
- func (e ListCategoryRepValidationError) Cause() error
- func (e ListCategoryRepValidationError) Error() string
- func (e ListCategoryRepValidationError) ErrorName() string
- func (e ListCategoryRepValidationError) Field() string
- func (e ListCategoryRepValidationError) Key() bool
- func (e ListCategoryRepValidationError) Reason() string
- type ListKindRep
- func (*ListKindRep) Descriptor() ([]byte, []int)deprecated
- func (x *ListKindRep) GetList() []*Kind
- func (*ListKindRep) ProtoMessage()
- func (x *ListKindRep) ProtoReflect() protoreflect.Message
- func (x *ListKindRep) Reset()
- func (x *ListKindRep) String() string
- func (m *ListKindRep) Validate() error
- func (m *ListKindRep) ValidateAll() error
- type ListKindRepMultiError
- type ListKindRepValidationError
- func (e ListKindRepValidationError) Cause() error
- func (e ListKindRepValidationError) Error() string
- func (e ListKindRepValidationError) ErrorName() string
- func (e ListKindRepValidationError) Field() string
- func (e ListKindRepValidationError) Key() bool
- func (e ListKindRepValidationError) Reason() string
- type ListProductInfoRep
- func (*ListProductInfoRep) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductInfoRep) GetList() []*ProductInfoInfo
- func (*ListProductInfoRep) ProtoMessage()
- func (x *ListProductInfoRep) ProtoReflect() protoreflect.Message
- func (x *ListProductInfoRep) Reset()
- func (x *ListProductInfoRep) String() string
- func (m *ListProductInfoRep) Validate() error
- func (m *ListProductInfoRep) ValidateAll() error
- type ListProductInfoRepMultiError
- type ListProductInfoRepValidationError
- func (e ListProductInfoRepValidationError) Cause() error
- func (e ListProductInfoRepValidationError) Error() string
- func (e ListProductInfoRepValidationError) ErrorName() string
- func (e ListProductInfoRepValidationError) Field() string
- func (e ListProductInfoRepValidationError) Key() bool
- func (e ListProductInfoRepValidationError) Reason() string
- type ListProductRep
- func (*ListProductRep) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductRep) GetList() []*ProductInfo
- func (*ListProductRep) ProtoMessage()
- func (x *ListProductRep) ProtoReflect() protoreflect.Message
- func (x *ListProductRep) Reset()
- func (x *ListProductRep) String() string
- func (m *ListProductRep) Validate() error
- func (m *ListProductRep) ValidateAll() error
- type ListProductRepMultiError
- type ListProductRepValidationError
- func (e ListProductRepValidationError) Cause() error
- func (e ListProductRepValidationError) Error() string
- func (e ListProductRepValidationError) ErrorName() string
- func (e ListProductRepValidationError) Field() string
- func (e ListProductRepValidationError) Key() bool
- func (e ListProductRepValidationError) Reason() string
- type ListProductTerminalInfoRep
- func (*ListProductTerminalInfoRep) Descriptor() ([]byte, []int)deprecated
- func (x *ListProductTerminalInfoRep) GetList() []*ProductTerminalInfo
- func (*ListProductTerminalInfoRep) ProtoMessage()
- func (x *ListProductTerminalInfoRep) ProtoReflect() protoreflect.Message
- func (x *ListProductTerminalInfoRep) Reset()
- func (x *ListProductTerminalInfoRep) String() string
- func (m *ListProductTerminalInfoRep) Validate() error
- func (m *ListProductTerminalInfoRep) ValidateAll() error
- type ListProductTerminalInfoRepMultiError
- type ListProductTerminalInfoRepValidationError
- func (e ListProductTerminalInfoRepValidationError) Cause() error
- func (e ListProductTerminalInfoRepValidationError) Error() string
- func (e ListProductTerminalInfoRepValidationError) ErrorName() string
- func (e ListProductTerminalInfoRepValidationError) Field() string
- func (e ListProductTerminalInfoRepValidationError) Key() bool
- func (e ListProductTerminalInfoRepValidationError) Reason() string
- type ListRegionRep
- func (*ListRegionRep) Descriptor() ([]byte, []int)deprecated
- func (x *ListRegionRep) GetList() []*RegionInfo
- func (*ListRegionRep) ProtoMessage()
- func (x *ListRegionRep) ProtoReflect() protoreflect.Message
- func (x *ListRegionRep) Reset()
- func (x *ListRegionRep) String() string
- func (m *ListRegionRep) Validate() error
- func (m *ListRegionRep) ValidateAll() error
- type ListRegionRepMultiError
- type ListRegionRepValidationError
- func (e ListRegionRepValidationError) Cause() error
- func (e ListRegionRepValidationError) Error() string
- func (e ListRegionRepValidationError) ErrorName() string
- func (e ListRegionRepValidationError) Field() string
- func (e ListRegionRepValidationError) Key() bool
- func (e ListRegionRepValidationError) Reason() string
- type ListTerminalRep
- func (*ListTerminalRep) Descriptor() ([]byte, []int)deprecated
- func (x *ListTerminalRep) GetList() []*Terminal
- func (*ListTerminalRep) ProtoMessage()
- func (x *ListTerminalRep) ProtoReflect() protoreflect.Message
- func (x *ListTerminalRep) Reset()
- func (x *ListTerminalRep) String() string
- func (m *ListTerminalRep) Validate() error
- func (m *ListTerminalRep) ValidateAll() error
- type ListTerminalRepMultiError
- type ListTerminalRepValidationError
- func (e ListTerminalRepValidationError) Cause() error
- func (e ListTerminalRepValidationError) Error() string
- func (e ListTerminalRepValidationError) ErrorName() string
- func (e ListTerminalRepValidationError) Field() string
- func (e ListTerminalRepValidationError) Key() bool
- func (e ListTerminalRepValidationError) Reason() string
- type PageListAttributeRep
- func (*PageListAttributeRep) Descriptor() ([]byte, []int)deprecated
- func (x *PageListAttributeRep) GetList() []*Attribute
- func (x *PageListAttributeRep) GetTotal() uint64
- func (*PageListAttributeRep) ProtoMessage()
- func (x *PageListAttributeRep) ProtoReflect() protoreflect.Message
- func (x *PageListAttributeRep) Reset()
- func (x *PageListAttributeRep) String() string
- func (m *PageListAttributeRep) Validate() error
- func (m *PageListAttributeRep) ValidateAll() error
- type PageListAttributeRepMultiError
- type PageListAttributeRepValidationError
- func (e PageListAttributeRepValidationError) Cause() error
- func (e PageListAttributeRepValidationError) Error() string
- func (e PageListAttributeRepValidationError) ErrorName() string
- func (e PageListAttributeRepValidationError) Field() string
- func (e PageListAttributeRepValidationError) Key() bool
- func (e PageListAttributeRepValidationError) Reason() string
- type PageListAttributeReq
- func (*PageListAttributeReq) Descriptor() ([]byte, []int)deprecated
- func (x *PageListAttributeReq) GetName() string
- func (x *PageListAttributeReq) GetPage() uint64
- func (x *PageListAttributeReq) GetPageSize() uint64
- func (x *PageListAttributeReq) GetProductInfoId() uint64
- func (*PageListAttributeReq) ProtoMessage()
- func (x *PageListAttributeReq) ProtoReflect() protoreflect.Message
- func (x *PageListAttributeReq) Reset()
- func (x *PageListAttributeReq) String() string
- func (m *PageListAttributeReq) Validate() error
- func (m *PageListAttributeReq) ValidateAll() error
- type PageListAttributeReqMultiError
- type PageListAttributeReqValidationError
- func (e PageListAttributeReqValidationError) Cause() error
- func (e PageListAttributeReqValidationError) Error() string
- func (e PageListAttributeReqValidationError) ErrorName() string
- func (e PageListAttributeReqValidationError) Field() string
- func (e PageListAttributeReqValidationError) Key() bool
- func (e PageListAttributeReqValidationError) Reason() string
- type PageListCategoryRep
- func (*PageListCategoryRep) Descriptor() ([]byte, []int)deprecated
- func (x *PageListCategoryRep) GetList() []*CategoryInfo
- func (x *PageListCategoryRep) GetTotal() uint64
- func (*PageListCategoryRep) ProtoMessage()
- func (x *PageListCategoryRep) ProtoReflect() protoreflect.Message
- func (x *PageListCategoryRep) Reset()
- func (x *PageListCategoryRep) String() string
- func (m *PageListCategoryRep) Validate() error
- func (m *PageListCategoryRep) ValidateAll() error
- type PageListCategoryRepMultiError
- type PageListCategoryRepValidationError
- func (e PageListCategoryRepValidationError) Cause() error
- func (e PageListCategoryRepValidationError) Error() string
- func (e PageListCategoryRepValidationError) ErrorName() string
- func (e PageListCategoryRepValidationError) Field() string
- func (e PageListCategoryRepValidationError) Key() bool
- func (e PageListCategoryRepValidationError) Reason() string
- type PageListCategoryReq
- func (*PageListCategoryReq) Descriptor() ([]byte, []int)deprecated
- func (x *PageListCategoryReq) GetName() string
- func (x *PageListCategoryReq) GetPage() uint64
- func (x *PageListCategoryReq) GetPageSize() uint64
- func (*PageListCategoryReq) ProtoMessage()
- func (x *PageListCategoryReq) ProtoReflect() protoreflect.Message
- func (x *PageListCategoryReq) Reset()
- func (x *PageListCategoryReq) String() string
- func (m *PageListCategoryReq) Validate() error
- func (m *PageListCategoryReq) ValidateAll() error
- type PageListCategoryReqMultiError
- type PageListCategoryReqValidationError
- func (e PageListCategoryReqValidationError) Cause() error
- func (e PageListCategoryReqValidationError) Error() string
- func (e PageListCategoryReqValidationError) ErrorName() string
- func (e PageListCategoryReqValidationError) Field() string
- func (e PageListCategoryReqValidationError) Key() bool
- func (e PageListCategoryReqValidationError) Reason() string
- type PageListKindRep
- func (*PageListKindRep) Descriptor() ([]byte, []int)deprecated
- func (x *PageListKindRep) GetList() []*Kind
- func (x *PageListKindRep) GetTotal() uint64
- func (*PageListKindRep) ProtoMessage()
- func (x *PageListKindRep) ProtoReflect() protoreflect.Message
- func (x *PageListKindRep) Reset()
- func (x *PageListKindRep) String() string
- func (m *PageListKindRep) Validate() error
- func (m *PageListKindRep) ValidateAll() error
- type PageListKindRepMultiError
- type PageListKindRepValidationError
- func (e PageListKindRepValidationError) Cause() error
- func (e PageListKindRepValidationError) Error() string
- func (e PageListKindRepValidationError) ErrorName() string
- func (e PageListKindRepValidationError) Field() string
- func (e PageListKindRepValidationError) Key() bool
- func (e PageListKindRepValidationError) Reason() string
- type PageListKindReq
- func (*PageListKindReq) Descriptor() ([]byte, []int)deprecated
- func (x *PageListKindReq) GetName() string
- func (x *PageListKindReq) GetPage() uint64
- func (x *PageListKindReq) GetPageSize() uint64
- func (*PageListKindReq) ProtoMessage()
- func (x *PageListKindReq) ProtoReflect() protoreflect.Message
- func (x *PageListKindReq) Reset()
- func (x *PageListKindReq) String() string
- func (m *PageListKindReq) Validate() error
- func (m *PageListKindReq) ValidateAll() error
- type PageListKindReqMultiError
- type PageListKindReqValidationError
- func (e PageListKindReqValidationError) Cause() error
- func (e PageListKindReqValidationError) Error() string
- func (e PageListKindReqValidationError) ErrorName() string
- func (e PageListKindReqValidationError) Field() string
- func (e PageListKindReqValidationError) Key() bool
- func (e PageListKindReqValidationError) Reason() string
- type PageListProductInfoRep
- func (*PageListProductInfoRep) Descriptor() ([]byte, []int)deprecated
- func (x *PageListProductInfoRep) GetList() []*ProductInfoInfo
- func (x *PageListProductInfoRep) GetTotal() uint64
- func (*PageListProductInfoRep) ProtoMessage()
- func (x *PageListProductInfoRep) ProtoReflect() protoreflect.Message
- func (x *PageListProductInfoRep) Reset()
- func (x *PageListProductInfoRep) String() string
- func (m *PageListProductInfoRep) Validate() error
- func (m *PageListProductInfoRep) ValidateAll() error
- type PageListProductInfoRepMultiError
- type PageListProductInfoRepValidationError
- func (e PageListProductInfoRepValidationError) Cause() error
- func (e PageListProductInfoRepValidationError) Error() string
- func (e PageListProductInfoRepValidationError) ErrorName() string
- func (e PageListProductInfoRepValidationError) Field() string
- func (e PageListProductInfoRepValidationError) Key() bool
- func (e PageListProductInfoRepValidationError) Reason() string
- type PageListProductInfoReq
- func (*PageListProductInfoReq) Descriptor() ([]byte, []int)deprecated
- func (x *PageListProductInfoReq) GetPage() uint64
- func (x *PageListProductInfoReq) GetPageSize() uint64
- func (*PageListProductInfoReq) ProtoMessage()
- func (x *PageListProductInfoReq) ProtoReflect() protoreflect.Message
- func (x *PageListProductInfoReq) Reset()
- func (x *PageListProductInfoReq) String() string
- func (m *PageListProductInfoReq) Validate() error
- func (m *PageListProductInfoReq) ValidateAll() error
- type PageListProductInfoReqMultiError
- type PageListProductInfoReqValidationError
- func (e PageListProductInfoReqValidationError) Cause() error
- func (e PageListProductInfoReqValidationError) Error() string
- func (e PageListProductInfoReqValidationError) ErrorName() string
- func (e PageListProductInfoReqValidationError) Field() string
- func (e PageListProductInfoReqValidationError) Key() bool
- func (e PageListProductInfoReqValidationError) Reason() string
- type PageListProductRep
- func (*PageListProductRep) Descriptor() ([]byte, []int)deprecated
- func (x *PageListProductRep) GetList() []*ProductInfo
- func (x *PageListProductRep) GetTotal() uint64
- func (*PageListProductRep) ProtoMessage()
- func (x *PageListProductRep) ProtoReflect() protoreflect.Message
- func (x *PageListProductRep) Reset()
- func (x *PageListProductRep) String() string
- func (m *PageListProductRep) Validate() error
- func (m *PageListProductRep) ValidateAll() error
- type PageListProductRepMultiError
- type PageListProductRepValidationError
- func (e PageListProductRepValidationError) Cause() error
- func (e PageListProductRepValidationError) Error() string
- func (e PageListProductRepValidationError) ErrorName() string
- func (e PageListProductRepValidationError) Field() string
- func (e PageListProductRepValidationError) Key() bool
- func (e PageListProductRepValidationError) Reason() string
- type PageListProductReq
- func (*PageListProductReq) Descriptor() ([]byte, []int)deprecated
- func (x *PageListProductReq) GetName() string
- func (x *PageListProductReq) GetPage() uint64
- func (x *PageListProductReq) GetPageSize() uint64
- func (*PageListProductReq) ProtoMessage()
- func (x *PageListProductReq) ProtoReflect() protoreflect.Message
- func (x *PageListProductReq) Reset()
- func (x *PageListProductReq) String() string
- func (m *PageListProductReq) Validate() error
- func (m *PageListProductReq) ValidateAll() error
- type PageListProductReqMultiError
- type PageListProductReqValidationError
- func (e PageListProductReqValidationError) Cause() error
- func (e PageListProductReqValidationError) Error() string
- func (e PageListProductReqValidationError) ErrorName() string
- func (e PageListProductReqValidationError) Field() string
- func (e PageListProductReqValidationError) Key() bool
- func (e PageListProductReqValidationError) Reason() string
- type PageListProductTerminalRep
- func (*PageListProductTerminalRep) Descriptor() ([]byte, []int)deprecated
- func (x *PageListProductTerminalRep) GetList() []*ProductTerminalInfo
- func (x *PageListProductTerminalRep) GetTotal() uint64
- func (*PageListProductTerminalRep) ProtoMessage()
- func (x *PageListProductTerminalRep) ProtoReflect() protoreflect.Message
- func (x *PageListProductTerminalRep) Reset()
- func (x *PageListProductTerminalRep) String() string
- func (m *PageListProductTerminalRep) Validate() error
- func (m *PageListProductTerminalRep) ValidateAll() error
- type PageListProductTerminalRepMultiError
- type PageListProductTerminalRepValidationError
- func (e PageListProductTerminalRepValidationError) Cause() error
- func (e PageListProductTerminalRepValidationError) Error() string
- func (e PageListProductTerminalRepValidationError) ErrorName() string
- func (e PageListProductTerminalRepValidationError) Field() string
- func (e PageListProductTerminalRepValidationError) Key() bool
- func (e PageListProductTerminalRepValidationError) Reason() string
- type PageListProductTerminalReq
- func (*PageListProductTerminalReq) Descriptor() ([]byte, []int)deprecated
- func (x *PageListProductTerminalReq) GetPage() uint64
- func (x *PageListProductTerminalReq) GetPageSize() uint64
- func (*PageListProductTerminalReq) ProtoMessage()
- func (x *PageListProductTerminalReq) ProtoReflect() protoreflect.Message
- func (x *PageListProductTerminalReq) Reset()
- func (x *PageListProductTerminalReq) String() string
- func (m *PageListProductTerminalReq) Validate() error
- func (m *PageListProductTerminalReq) ValidateAll() error
- type PageListProductTerminalReqMultiError
- type PageListProductTerminalReqValidationError
- func (e PageListProductTerminalReqValidationError) Cause() error
- func (e PageListProductTerminalReqValidationError) Error() string
- func (e PageListProductTerminalReqValidationError) ErrorName() string
- func (e PageListProductTerminalReqValidationError) Field() string
- func (e PageListProductTerminalReqValidationError) Key() bool
- func (e PageListProductTerminalReqValidationError) Reason() string
- type PageListRegionRep
- func (*PageListRegionRep) Descriptor() ([]byte, []int)deprecated
- func (x *PageListRegionRep) GetList() []*RegionInfo
- func (x *PageListRegionRep) GetTotal() uint64
- func (*PageListRegionRep) ProtoMessage()
- func (x *PageListRegionRep) ProtoReflect() protoreflect.Message
- func (x *PageListRegionRep) Reset()
- func (x *PageListRegionRep) String() string
- func (m *PageListRegionRep) Validate() error
- func (m *PageListRegionRep) ValidateAll() error
- type PageListRegionRepMultiError
- type PageListRegionRepValidationError
- func (e PageListRegionRepValidationError) Cause() error
- func (e PageListRegionRepValidationError) Error() string
- func (e PageListRegionRepValidationError) ErrorName() string
- func (e PageListRegionRepValidationError) Field() string
- func (e PageListRegionRepValidationError) Key() bool
- func (e PageListRegionRepValidationError) Reason() string
- type PageListRegionReq
- func (*PageListRegionReq) Descriptor() ([]byte, []int)deprecated
- func (x *PageListRegionReq) GetName() string
- func (x *PageListRegionReq) GetPage() uint64
- func (x *PageListRegionReq) GetPageSize() uint64
- func (*PageListRegionReq) ProtoMessage()
- func (x *PageListRegionReq) ProtoReflect() protoreflect.Message
- func (x *PageListRegionReq) Reset()
- func (x *PageListRegionReq) String() string
- func (m *PageListRegionReq) Validate() error
- func (m *PageListRegionReq) ValidateAll() error
- type PageListRegionReqMultiError
- type PageListRegionReqValidationError
- func (e PageListRegionReqValidationError) Cause() error
- func (e PageListRegionReqValidationError) Error() string
- func (e PageListRegionReqValidationError) ErrorName() string
- func (e PageListRegionReqValidationError) Field() string
- func (e PageListRegionReqValidationError) Key() bool
- func (e PageListRegionReqValidationError) Reason() string
- type PageListTerminalRep
- func (*PageListTerminalRep) Descriptor() ([]byte, []int)deprecated
- func (x *PageListTerminalRep) GetList() []*Terminal
- func (x *PageListTerminalRep) GetTotal() uint64
- func (*PageListTerminalRep) ProtoMessage()
- func (x *PageListTerminalRep) ProtoReflect() protoreflect.Message
- func (x *PageListTerminalRep) Reset()
- func (x *PageListTerminalRep) String() string
- func (m *PageListTerminalRep) Validate() error
- func (m *PageListTerminalRep) ValidateAll() error
- type PageListTerminalRepMultiError
- type PageListTerminalRepValidationError
- func (e PageListTerminalRepValidationError) Cause() error
- func (e PageListTerminalRepValidationError) Error() string
- func (e PageListTerminalRepValidationError) ErrorName() string
- func (e PageListTerminalRepValidationError) Field() string
- func (e PageListTerminalRepValidationError) Key() bool
- func (e PageListTerminalRepValidationError) Reason() string
- type PageListTerminalReq
- func (*PageListTerminalReq) Descriptor() ([]byte, []int)deprecated
- func (x *PageListTerminalReq) GetName() string
- func (x *PageListTerminalReq) GetPage() uint64
- func (x *PageListTerminalReq) GetPageSize() uint64
- func (*PageListTerminalReq) ProtoMessage()
- func (x *PageListTerminalReq) ProtoReflect() protoreflect.Message
- func (x *PageListTerminalReq) Reset()
- func (x *PageListTerminalReq) String() string
- func (m *PageListTerminalReq) Validate() error
- func (m *PageListTerminalReq) ValidateAll() error
- type PageListTerminalReqMultiError
- type PageListTerminalReqValidationError
- func (e PageListTerminalReqValidationError) Cause() error
- func (e PageListTerminalReqValidationError) Error() string
- func (e PageListTerminalReqValidationError) ErrorName() string
- func (e PageListTerminalReqValidationError) Field() string
- func (e PageListTerminalReqValidationError) Key() bool
- func (e PageListTerminalReqValidationError) Reason() string
- type ProductClient
- type ProductHTTPClient
- type ProductHTTPClientImpl
- func (c *ProductHTTPClientImpl) CreateAttribute(ctx context.Context, in *CreateAttributeReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) CreateCategory(ctx context.Context, in *CreateCategoryReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) CreateKind(ctx context.Context, in *CreateKindReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) CreateProduct(ctx context.Context, in *CreateProductReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) CreateProductInfo(ctx context.Context, in *CreateProductInfoReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) CreateProductTerminal(ctx context.Context, in *CreateProductTerminalReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) CreateRegion(ctx context.Context, in *CreateRegionReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) CreateTerminal(ctx context.Context, in *CreateTerminalReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) DelAttribute(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) DelCategory(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) DelKind(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) DelProduct(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) DelProductInfo(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) DelProductTerminal(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) DelRegion(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) DelTerminal(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) EditAttribute(ctx context.Context, in *EditAttributeReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) EditCategory(ctx context.Context, in *EditCategoryReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) EditKind(ctx context.Context, in *EditKindReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) EditProduct(ctx context.Context, in *EditProductReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) EditProductInfo(ctx context.Context, in *EditProductInfoReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) EditProductTerminal(ctx context.Context, in *EditProductTerminalReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) EditRegion(ctx context.Context, in *EditRegionReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) EditTerminal(ctx context.Context, in *EditTerminalReq, opts ...http.CallOption) (*ProductStatus, error)
- func (c *ProductHTTPClientImpl) GetAttribute(ctx context.Context, in *Attribute, opts ...http.CallOption) (*Attribute, error)
- func (c *ProductHTTPClientImpl) GetCategory(ctx context.Context, in *CategoryInfo, opts ...http.CallOption) (*CategoryInfo, error)
- func (c *ProductHTTPClientImpl) GetKind(ctx context.Context, in *Kind, opts ...http.CallOption) (*Kind, error)
- func (c *ProductHTTPClientImpl) GetProduct(ctx context.Context, in *ProductInfo, opts ...http.CallOption) (*ProductInfo, error)
- func (c *ProductHTTPClientImpl) GetProductInfo(ctx context.Context, in *ProductInfoInfo, opts ...http.CallOption) (*ProductInfoInfo, error)
- func (c *ProductHTTPClientImpl) GetProductTerminalInfo(ctx context.Context, in *ProductTerminalInfo, opts ...http.CallOption) (*ProductTerminalInfo, error)
- func (c *ProductHTTPClientImpl) GetRegion(ctx context.Context, in *RegionInfo, opts ...http.CallOption) (*RegionInfo, error)
- func (c *ProductHTTPClientImpl) GetTerminal(ctx context.Context, in *Terminal, opts ...http.CallOption) (*Terminal, error)
- func (c *ProductHTTPClientImpl) ListAttribute(ctx context.Context, in *Attribute, opts ...http.CallOption) (*ListAttributeRep, error)
- func (c *ProductHTTPClientImpl) ListCategory(ctx context.Context, in *CategoryInfo, opts ...http.CallOption) (*ListCategoryRep, error)
- func (c *ProductHTTPClientImpl) ListKind(ctx context.Context, in *Kind, opts ...http.CallOption) (*ListKindRep, error)
- func (c *ProductHTTPClientImpl) ListProduct(ctx context.Context, in *ProductInfo, opts ...http.CallOption) (*ListProductRep, error)
- func (c *ProductHTTPClientImpl) ListProductInfo(ctx context.Context, in *ProductInfoInfo, opts ...http.CallOption) (*ListProductInfoRep, error)
- func (c *ProductHTTPClientImpl) ListProductTerminal(ctx context.Context, in *ProductTerminalInfo, opts ...http.CallOption) (*ListProductTerminalInfoRep, error)
- func (c *ProductHTTPClientImpl) ListRegion(ctx context.Context, in *RegionInfo, opts ...http.CallOption) (*ListRegionRep, error)
- func (c *ProductHTTPClientImpl) ListTerminal(ctx context.Context, in *Terminal, opts ...http.CallOption) (*ListTerminalRep, error)
- func (c *ProductHTTPClientImpl) PageListAttribute(ctx context.Context, in *PageListAttributeReq, opts ...http.CallOption) (*PageListAttributeRep, error)
- func (c *ProductHTTPClientImpl) PageListCategory(ctx context.Context, in *PageListCategoryReq, opts ...http.CallOption) (*PageListCategoryRep, error)
- func (c *ProductHTTPClientImpl) PageListKind(ctx context.Context, in *PageListKindReq, opts ...http.CallOption) (*PageListKindRep, error)
- func (c *ProductHTTPClientImpl) PageListProduct(ctx context.Context, in *PageListProductReq, opts ...http.CallOption) (*PageListProductRep, error)
- func (c *ProductHTTPClientImpl) PageListProductInfo(ctx context.Context, in *PageListProductInfoReq, opts ...http.CallOption) (*PageListProductInfoRep, error)
- func (c *ProductHTTPClientImpl) PageListRegion(ctx context.Context, in *PageListRegionReq, opts ...http.CallOption) (*PageListRegionRep, error)
- func (c *ProductHTTPClientImpl) PageListTerminal(ctx context.Context, in *PageListTerminalReq, opts ...http.CallOption) (*PageListTerminalRep, error)
- func (c *ProductHTTPClientImpl) PageProductTerminal(ctx context.Context, in *PageListProductTerminalReq, opts ...http.CallOption) (*PageListProductTerminalRep, error)
- type ProductHTTPServer
- type ProductInfo
- func (*ProductInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProductInfo) GetCreatedAt() string
- func (x *ProductInfo) GetDeletedAt() string
- func (x *ProductInfo) GetDescription() string
- func (x *ProductInfo) GetId() uint64
- func (x *ProductInfo) GetKeywords() string
- func (x *ProductInfo) GetKindId() uint64
- func (x *ProductInfo) GetName() string
- func (x *ProductInfo) GetUpdatedAt() string
- func (*ProductInfo) ProtoMessage()
- func (x *ProductInfo) ProtoReflect() protoreflect.Message
- func (x *ProductInfo) Reset()
- func (x *ProductInfo) String() string
- func (m *ProductInfo) Validate() error
- func (m *ProductInfo) ValidateAll() error
- type ProductInfoInfo
- func (*ProductInfoInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProductInfoInfo) GetCategoryId() uint64
- func (x *ProductInfoInfo) GetControl() uint64
- func (x *ProductInfoInfo) GetDescription() string
- func (x *ProductInfoInfo) GetId() uint64
- func (x *ProductInfoInfo) GetImg() string
- func (x *ProductInfoInfo) GetKeywords() string
- func (x *ProductInfoInfo) GetKindId() uint64
- func (x *ProductInfoInfo) GetNum() uint64
- func (x *ProductInfoInfo) GetPath() string
- func (x *ProductInfoInfo) GetProductId() uint64
- func (x *ProductInfoInfo) GetSort() uint64
- func (*ProductInfoInfo) ProtoMessage()
- func (x *ProductInfoInfo) ProtoReflect() protoreflect.Message
- func (x *ProductInfoInfo) Reset()
- func (x *ProductInfoInfo) String() string
- func (m *ProductInfoInfo) Validate() error
- func (m *ProductInfoInfo) ValidateAll() error
- type ProductInfoInfoMultiError
- type ProductInfoInfoValidationError
- func (e ProductInfoInfoValidationError) Cause() error
- func (e ProductInfoInfoValidationError) Error() string
- func (e ProductInfoInfoValidationError) ErrorName() string
- func (e ProductInfoInfoValidationError) Field() string
- func (e ProductInfoInfoValidationError) Key() bool
- func (e ProductInfoInfoValidationError) Reason() string
- type ProductInfoMultiError
- type ProductInfoValidationError
- func (e ProductInfoValidationError) Cause() error
- func (e ProductInfoValidationError) Error() string
- func (e ProductInfoValidationError) ErrorName() string
- func (e ProductInfoValidationError) Field() string
- func (e ProductInfoValidationError) Key() bool
- func (e ProductInfoValidationError) Reason() string
- type ProductServer
- type ProductStatus
- func (*ProductStatus) Descriptor() ([]byte, []int)deprecated
- func (x *ProductStatus) GetSuccess() bool
- func (*ProductStatus) ProtoMessage()
- func (x *ProductStatus) ProtoReflect() protoreflect.Message
- func (x *ProductStatus) Reset()
- func (x *ProductStatus) String() string
- func (m *ProductStatus) Validate() error
- func (m *ProductStatus) ValidateAll() error
- type ProductStatusMultiError
- type ProductStatusValidationError
- func (e ProductStatusValidationError) Cause() error
- func (e ProductStatusValidationError) Error() string
- func (e ProductStatusValidationError) ErrorName() string
- func (e ProductStatusValidationError) Field() string
- func (e ProductStatusValidationError) Key() bool
- func (e ProductStatusValidationError) Reason() string
- type ProductTerminalInfo
- func (*ProductTerminalInfo) Descriptor() ([]byte, []int)deprecated
- func (x *ProductTerminalInfo) GetCreatedAt() string
- func (x *ProductTerminalInfo) GetDeletedAt() string
- func (x *ProductTerminalInfo) GetId() uint64
- func (x *ProductTerminalInfo) GetProductId() uint64
- func (x *ProductTerminalInfo) GetRegionId() uint64
- func (x *ProductTerminalInfo) GetTerminalId() uint64
- func (x *ProductTerminalInfo) GetUpdatedAt() string
- func (*ProductTerminalInfo) ProtoMessage()
- func (x *ProductTerminalInfo) ProtoReflect() protoreflect.Message
- func (x *ProductTerminalInfo) Reset()
- func (x *ProductTerminalInfo) String() string
- func (m *ProductTerminalInfo) Validate() error
- func (m *ProductTerminalInfo) ValidateAll() error
- type ProductTerminalInfoMultiError
- type ProductTerminalInfoValidationError
- func (e ProductTerminalInfoValidationError) Cause() error
- func (e ProductTerminalInfoValidationError) Error() string
- func (e ProductTerminalInfoValidationError) ErrorName() string
- func (e ProductTerminalInfoValidationError) Field() string
- func (e ProductTerminalInfoValidationError) Key() bool
- func (e ProductTerminalInfoValidationError) Reason() string
- type RegionInfo
- func (*RegionInfo) Descriptor() ([]byte, []int)deprecated
- func (x *RegionInfo) GetCountry() string
- func (x *RegionInfo) GetCreatedAt() string
- func (x *RegionInfo) GetDeletedAt() string
- func (x *RegionInfo) GetId() uint64
- func (x *RegionInfo) GetName() string
- func (x *RegionInfo) GetPrice() uint64
- func (x *RegionInfo) GetProductId() uint64
- func (x *RegionInfo) GetSort() uint64
- func (x *RegionInfo) GetStep() string
- func (x *RegionInfo) GetUpdatedAt() string
- func (*RegionInfo) ProtoMessage()
- func (x *RegionInfo) ProtoReflect() protoreflect.Message
- func (x *RegionInfo) Reset()
- func (x *RegionInfo) String() string
- func (m *RegionInfo) Validate() error
- func (m *RegionInfo) ValidateAll() error
- type RegionInfoMultiError
- type RegionInfoValidationError
- type Terminal
- func (*Terminal) Descriptor() ([]byte, []int)deprecated
- func (x *Terminal) GetCreatedAt() string
- func (x *Terminal) GetDeletedAt() string
- func (x *Terminal) GetDescription() string
- func (x *Terminal) GetImg() string
- func (x *Terminal) GetKeywords() string
- func (x *Terminal) GetName() string
- func (x *Terminal) GetSort() uint64
- func (x *Terminal) GetUpdatedAt() string
- func (*Terminal) ProtoMessage()
- func (x *Terminal) ProtoReflect() protoreflect.Message
- func (x *Terminal) Reset()
- func (x *Terminal) String() string
- func (m *Terminal) Validate() error
- func (m *Terminal) ValidateAll() error
- type TerminalMultiError
- type TerminalValidationError
- type UnimplementedProductServer
- func (UnimplementedProductServer) CreateAttribute(context.Context, *CreateAttributeReq) (*ProductStatus, error)
- func (UnimplementedProductServer) CreateCategory(context.Context, *CreateCategoryReq) (*ProductStatus, error)
- func (UnimplementedProductServer) CreateKind(context.Context, *CreateKindReq) (*ProductStatus, error)
- func (UnimplementedProductServer) CreateProduct(context.Context, *CreateProductReq) (*ProductStatus, error)
- func (UnimplementedProductServer) CreateProductInfo(context.Context, *CreateProductInfoReq) (*ProductStatus, error)
- func (UnimplementedProductServer) CreateProductTerminal(context.Context, *CreateProductTerminalReq) (*ProductStatus, error)
- func (UnimplementedProductServer) CreateRegion(context.Context, *CreateRegionReq) (*ProductStatus, error)
- func (UnimplementedProductServer) CreateTerminal(context.Context, *CreateTerminalReq) (*ProductStatus, error)
- func (UnimplementedProductServer) DelAttribute(context.Context, *DelIdReq) (*ProductStatus, error)
- func (UnimplementedProductServer) DelCategory(context.Context, *DelIdReq) (*ProductStatus, error)
- func (UnimplementedProductServer) DelKind(context.Context, *DelIdReq) (*ProductStatus, error)
- func (UnimplementedProductServer) DelProduct(context.Context, *DelIdReq) (*ProductStatus, error)
- func (UnimplementedProductServer) DelProductInfo(context.Context, *DelIdReq) (*ProductStatus, error)
- func (UnimplementedProductServer) DelProductTerminal(context.Context, *DelIdReq) (*ProductStatus, error)
- func (UnimplementedProductServer) DelRegion(context.Context, *DelIdReq) (*ProductStatus, error)
- func (UnimplementedProductServer) DelTerminal(context.Context, *DelIdReq) (*ProductStatus, error)
- func (UnimplementedProductServer) EditAttribute(context.Context, *EditAttributeReq) (*ProductStatus, error)
- func (UnimplementedProductServer) EditCategory(context.Context, *EditCategoryReq) (*ProductStatus, error)
- func (UnimplementedProductServer) EditKind(context.Context, *EditKindReq) (*ProductStatus, error)
- func (UnimplementedProductServer) EditProduct(context.Context, *EditProductReq) (*ProductStatus, error)
- func (UnimplementedProductServer) EditProductInfo(context.Context, *EditProductInfoReq) (*ProductStatus, error)
- func (UnimplementedProductServer) EditProductTerminal(context.Context, *EditProductTerminalReq) (*ProductStatus, error)
- func (UnimplementedProductServer) EditRegion(context.Context, *EditRegionReq) (*ProductStatus, error)
- func (UnimplementedProductServer) EditTerminal(context.Context, *EditTerminalReq) (*ProductStatus, error)
- func (UnimplementedProductServer) GetAttribute(context.Context, *Attribute) (*Attribute, error)
- func (UnimplementedProductServer) GetCategory(context.Context, *CategoryInfo) (*CategoryInfo, error)
- func (UnimplementedProductServer) GetKind(context.Context, *Kind) (*Kind, error)
- func (UnimplementedProductServer) GetProduct(context.Context, *ProductInfo) (*ProductInfo, error)
- func (UnimplementedProductServer) GetProductInfo(context.Context, *ProductInfoInfo) (*ProductInfoInfo, error)
- func (UnimplementedProductServer) GetProductTerminalInfo(context.Context, *ProductTerminalInfo) (*ProductTerminalInfo, error)
- func (UnimplementedProductServer) GetRegion(context.Context, *RegionInfo) (*RegionInfo, error)
- func (UnimplementedProductServer) GetTerminal(context.Context, *Terminal) (*Terminal, error)
- func (UnimplementedProductServer) ListAttribute(context.Context, *Attribute) (*ListAttributeRep, error)
- func (UnimplementedProductServer) ListCategory(context.Context, *CategoryInfo) (*ListCategoryRep, error)
- func (UnimplementedProductServer) ListKind(context.Context, *Kind) (*ListKindRep, error)
- func (UnimplementedProductServer) ListProduct(context.Context, *ProductInfo) (*ListProductRep, error)
- func (UnimplementedProductServer) ListProductInfo(context.Context, *ProductInfoInfo) (*ListProductInfoRep, error)
- func (UnimplementedProductServer) ListProductTerminal(context.Context, *ProductTerminalInfo) (*ListProductTerminalInfoRep, error)
- func (UnimplementedProductServer) ListRegion(context.Context, *RegionInfo) (*ListRegionRep, error)
- func (UnimplementedProductServer) ListTerminal(context.Context, *Terminal) (*ListTerminalRep, error)
- func (UnimplementedProductServer) PageListAttribute(context.Context, *PageListAttributeReq) (*PageListAttributeRep, error)
- func (UnimplementedProductServer) PageListCategory(context.Context, *PageListCategoryReq) (*PageListCategoryRep, error)
- func (UnimplementedProductServer) PageListKind(context.Context, *PageListKindReq) (*PageListKindRep, error)
- func (UnimplementedProductServer) PageListProduct(context.Context, *PageListProductReq) (*PageListProductRep, error)
- func (UnimplementedProductServer) PageListProductInfo(context.Context, *PageListProductInfoReq) (*PageListProductInfoRep, error)
- func (UnimplementedProductServer) PageListRegion(context.Context, *PageListRegionReq) (*PageListRegionRep, error)
- func (UnimplementedProductServer) PageListTerminal(context.Context, *PageListTerminalReq) (*PageListTerminalRep, error)
- func (UnimplementedProductServer) PageProductTerminal(context.Context, *PageListProductTerminalReq) (*PageListProductTerminalRep, error)
- type UnsafeProductServer
Constants ¶
const ( Product_CreateTerminal_FullMethodName = "/api.product.v1.Product/CreateTerminal" Product_EditTerminal_FullMethodName = "/api.product.v1.Product/EditTerminal" Product_DelTerminal_FullMethodName = "/api.product.v1.Product/DelTerminal" Product_ListTerminal_FullMethodName = "/api.product.v1.Product/ListTerminal" Product_PageListTerminal_FullMethodName = "/api.product.v1.Product/PageListTerminal" Product_GetTerminal_FullMethodName = "/api.product.v1.Product/GetTerminal" Product_CreateKind_FullMethodName = "/api.product.v1.Product/CreateKind" Product_EditKind_FullMethodName = "/api.product.v1.Product/EditKind" Product_DelKind_FullMethodName = "/api.product.v1.Product/DelKind" Product_ListKind_FullMethodName = "/api.product.v1.Product/ListKind" Product_PageListKind_FullMethodName = "/api.product.v1.Product/PageListKind" Product_GetKind_FullMethodName = "/api.product.v1.Product/GetKind" Product_CreateProduct_FullMethodName = "/api.product.v1.Product/CreateProduct" Product_EditProduct_FullMethodName = "/api.product.v1.Product/EditProduct" Product_DelProduct_FullMethodName = "/api.product.v1.Product/DelProduct" Product_ListProduct_FullMethodName = "/api.product.v1.Product/ListProduct" Product_PageListProduct_FullMethodName = "/api.product.v1.Product/PageListProduct" Product_GetProduct_FullMethodName = "/api.product.v1.Product/GetProduct" Product_CreateCategory_FullMethodName = "/api.product.v1.Product/CreateCategory" Product_EditCategory_FullMethodName = "/api.product.v1.Product/EditCategory" Product_DelCategory_FullMethodName = "/api.product.v1.Product/DelCategory" Product_ListCategory_FullMethodName = "/api.product.v1.Product/ListCategory" Product_PageListCategory_FullMethodName = "/api.product.v1.Product/PageListCategory" Product_GetCategory_FullMethodName = "/api.product.v1.Product/GetCategory" Product_CreateRegion_FullMethodName = "/api.product.v1.Product/CreateRegion" Product_EditRegion_FullMethodName = "/api.product.v1.Product/EditRegion" Product_DelRegion_FullMethodName = "/api.product.v1.Product/DelRegion" Product_ListRegion_FullMethodName = "/api.product.v1.Product/ListRegion" Product_PageListRegion_FullMethodName = "/api.product.v1.Product/PageListRegion" Product_GetRegion_FullMethodName = "/api.product.v1.Product/GetRegion" Product_CreateProductInfo_FullMethodName = "/api.product.v1.Product/CreateProductInfo" Product_EditProductInfo_FullMethodName = "/api.product.v1.Product/EditProductInfo" Product_DelProductInfo_FullMethodName = "/api.product.v1.Product/DelProductInfo" Product_ListProductInfo_FullMethodName = "/api.product.v1.Product/ListProductInfo" Product_PageListProductInfo_FullMethodName = "/api.product.v1.Product/PageListProductInfo" Product_GetProductInfo_FullMethodName = "/api.product.v1.Product/GetProductInfo" Product_CreateProductTerminal_FullMethodName = "/api.product.v1.Product/CreateProductTerminal" Product_EditProductTerminal_FullMethodName = "/api.product.v1.Product/EditProductTerminal" Product_DelProductTerminal_FullMethodName = "/api.product.v1.Product/DelProductTerminal" Product_ListProductTerminal_FullMethodName = "/api.product.v1.Product/ListProductTerminal" Product_PageProductTerminal_FullMethodName = "/api.product.v1.Product/PageProductTerminal" Product_GetProductTerminalInfo_FullMethodName = "/api.product.v1.Product/GetProductTerminalInfo" Product_CreateAttribute_FullMethodName = "/api.product.v1.Product/CreateAttribute" Product_EditAttribute_FullMethodName = "/api.product.v1.Product/EditAttribute" Product_DelAttribute_FullMethodName = "/api.product.v1.Product/DelAttribute" Product_ListAttribute_FullMethodName = "/api.product.v1.Product/ListAttribute" Product_PageListAttribute_FullMethodName = "/api.product.v1.Product/PageListAttribute" Product_GetAttribute_FullMethodName = "/api.product.v1.Product/GetAttribute" )
const OperationProductCreateAttribute = "/api.product.v1.Product/CreateAttribute"
const OperationProductCreateCategory = "/api.product.v1.Product/CreateCategory"
const OperationProductCreateKind = "/api.product.v1.Product/CreateKind"
const OperationProductCreateProduct = "/api.product.v1.Product/CreateProduct"
const OperationProductCreateProductInfo = "/api.product.v1.Product/CreateProductInfo"
const OperationProductCreateProductTerminal = "/api.product.v1.Product/CreateProductTerminal"
const OperationProductCreateRegion = "/api.product.v1.Product/CreateRegion"
const OperationProductCreateTerminal = "/api.product.v1.Product/CreateTerminal"
const OperationProductDelAttribute = "/api.product.v1.Product/DelAttribute"
const OperationProductDelCategory = "/api.product.v1.Product/DelCategory"
const OperationProductDelKind = "/api.product.v1.Product/DelKind"
const OperationProductDelProduct = "/api.product.v1.Product/DelProduct"
const OperationProductDelProductInfo = "/api.product.v1.Product/DelProductInfo"
const OperationProductDelProductTerminal = "/api.product.v1.Product/DelProductTerminal"
const OperationProductDelRegion = "/api.product.v1.Product/DelRegion"
const OperationProductDelTerminal = "/api.product.v1.Product/DelTerminal"
const OperationProductEditAttribute = "/api.product.v1.Product/EditAttribute"
const OperationProductEditCategory = "/api.product.v1.Product/EditCategory"
const OperationProductEditKind = "/api.product.v1.Product/EditKind"
const OperationProductEditProduct = "/api.product.v1.Product/EditProduct"
const OperationProductEditProductInfo = "/api.product.v1.Product/EditProductInfo"
const OperationProductEditProductTerminal = "/api.product.v1.Product/EditProductTerminal"
const OperationProductEditRegion = "/api.product.v1.Product/EditRegion"
const OperationProductEditTerminal = "/api.product.v1.Product/EditTerminal"
const OperationProductGetAttribute = "/api.product.v1.Product/GetAttribute"
const OperationProductGetCategory = "/api.product.v1.Product/GetCategory"
const OperationProductGetKind = "/api.product.v1.Product/GetKind"
const OperationProductGetProduct = "/api.product.v1.Product/GetProduct"
const OperationProductGetProductInfo = "/api.product.v1.Product/GetProductInfo"
const OperationProductGetProductTerminalInfo = "/api.product.v1.Product/GetProductTerminalInfo"
const OperationProductGetRegion = "/api.product.v1.Product/GetRegion"
const OperationProductGetTerminal = "/api.product.v1.Product/GetTerminal"
const OperationProductListAttribute = "/api.product.v1.Product/ListAttribute"
const OperationProductListCategory = "/api.product.v1.Product/ListCategory"
const OperationProductListKind = "/api.product.v1.Product/ListKind"
const OperationProductListProduct = "/api.product.v1.Product/ListProduct"
const OperationProductListProductInfo = "/api.product.v1.Product/ListProductInfo"
const OperationProductListProductTerminal = "/api.product.v1.Product/ListProductTerminal"
const OperationProductListRegion = "/api.product.v1.Product/ListRegion"
const OperationProductListTerminal = "/api.product.v1.Product/ListTerminal"
const OperationProductPageListAttribute = "/api.product.v1.Product/PageListAttribute"
const OperationProductPageListCategory = "/api.product.v1.Product/PageListCategory"
const OperationProductPageListKind = "/api.product.v1.Product/PageListKind"
const OperationProductPageListProduct = "/api.product.v1.Product/PageListProduct"
const OperationProductPageListProductInfo = "/api.product.v1.Product/PageListProductInfo"
const OperationProductPageListRegion = "/api.product.v1.Product/PageListRegion"
const OperationProductPageListTerminal = "/api.product.v1.Product/PageListTerminal"
const OperationProductPageProductTerminal = "/api.product.v1.Product/PageProductTerminal"
Variables ¶
var File_api_product_v1_product_proto protoreflect.FileDescriptor
var Product_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.product.v1.Product", HandlerType: (*ProductServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "CreateTerminal", Handler: _Product_CreateTerminal_Handler, }, { MethodName: "EditTerminal", Handler: _Product_EditTerminal_Handler, }, { MethodName: "DelTerminal", Handler: _Product_DelTerminal_Handler, }, { MethodName: "ListTerminal", Handler: _Product_ListTerminal_Handler, }, { MethodName: "PageListTerminal", Handler: _Product_PageListTerminal_Handler, }, { MethodName: "GetTerminal", Handler: _Product_GetTerminal_Handler, }, { MethodName: "CreateKind", Handler: _Product_CreateKind_Handler, }, { MethodName: "EditKind", Handler: _Product_EditKind_Handler, }, { MethodName: "DelKind", Handler: _Product_DelKind_Handler, }, { MethodName: "ListKind", Handler: _Product_ListKind_Handler, }, { MethodName: "PageListKind", Handler: _Product_PageListKind_Handler, }, { MethodName: "GetKind", Handler: _Product_GetKind_Handler, }, { MethodName: "CreateProduct", Handler: _Product_CreateProduct_Handler, }, { MethodName: "EditProduct", Handler: _Product_EditProduct_Handler, }, { MethodName: "DelProduct", Handler: _Product_DelProduct_Handler, }, { MethodName: "ListProduct", Handler: _Product_ListProduct_Handler, }, { MethodName: "PageListProduct", Handler: _Product_PageListProduct_Handler, }, { MethodName: "GetProduct", Handler: _Product_GetProduct_Handler, }, { MethodName: "CreateCategory", Handler: _Product_CreateCategory_Handler, }, { MethodName: "EditCategory", Handler: _Product_EditCategory_Handler, }, { MethodName: "DelCategory", Handler: _Product_DelCategory_Handler, }, { MethodName: "ListCategory", Handler: _Product_ListCategory_Handler, }, { MethodName: "PageListCategory", Handler: _Product_PageListCategory_Handler, }, { MethodName: "GetCategory", Handler: _Product_GetCategory_Handler, }, { MethodName: "CreateRegion", Handler: _Product_CreateRegion_Handler, }, { MethodName: "EditRegion", Handler: _Product_EditRegion_Handler, }, { MethodName: "DelRegion", Handler: _Product_DelRegion_Handler, }, { MethodName: "ListRegion", Handler: _Product_ListRegion_Handler, }, { MethodName: "PageListRegion", Handler: _Product_PageListRegion_Handler, }, { MethodName: "GetRegion", Handler: _Product_GetRegion_Handler, }, { MethodName: "CreateProductInfo", Handler: _Product_CreateProductInfo_Handler, }, { MethodName: "EditProductInfo", Handler: _Product_EditProductInfo_Handler, }, { MethodName: "DelProductInfo", Handler: _Product_DelProductInfo_Handler, }, { MethodName: "ListProductInfo", Handler: _Product_ListProductInfo_Handler, }, { MethodName: "PageListProductInfo", Handler: _Product_PageListProductInfo_Handler, }, { MethodName: "GetProductInfo", Handler: _Product_GetProductInfo_Handler, }, { MethodName: "CreateProductTerminal", Handler: _Product_CreateProductTerminal_Handler, }, { MethodName: "EditProductTerminal", Handler: _Product_EditProductTerminal_Handler, }, { MethodName: "DelProductTerminal", Handler: _Product_DelProductTerminal_Handler, }, { MethodName: "ListProductTerminal", Handler: _Product_ListProductTerminal_Handler, }, { MethodName: "PageProductTerminal", Handler: _Product_PageProductTerminal_Handler, }, { MethodName: "GetProductTerminalInfo", Handler: _Product_GetProductTerminalInfo_Handler, }, { MethodName: "CreateAttribute", Handler: _Product_CreateAttribute_Handler, }, { MethodName: "EditAttribute", Handler: _Product_EditAttribute_Handler, }, { MethodName: "DelAttribute", Handler: _Product_DelAttribute_Handler, }, { MethodName: "ListAttribute", Handler: _Product_ListAttribute_Handler, }, { MethodName: "PageListAttribute", Handler: _Product_PageListAttribute_Handler, }, { MethodName: "GetAttribute", Handler: _Product_GetAttribute_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "product/v1/product.proto", }
Product_ServiceDesc is the grpc.ServiceDesc for Product service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
Functions ¶
func RegisterProductHTTPServer ¶
func RegisterProductHTTPServer(s *http.Server, srv ProductHTTPServer)
func RegisterProductServer ¶
func RegisterProductServer(s grpc.ServiceRegistrar, srv ProductServer)
Types ¶
type Attribute ¶ added in v0.0.64
type Attribute struct { // 主键 Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 产品详情Id ProductInfoId uint64 `protobuf:"varint,2,opt,name=product_info_id,json=productInfoId,proto3" json:"product_info_id,omitempty"` // 产品类型名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 创建时间 CreatedAt string `protobuf:"bytes,4,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 最后编辑时间 UpdatedAt string `protobuf:"bytes,5,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 最后删除时间 DeletedAt string `protobuf:"bytes,6,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Attribute) Descriptor
deprecated
added in
v0.0.64
func (*Attribute) GetCreatedAt ¶ added in v0.0.64
func (*Attribute) GetDeletedAt ¶ added in v0.0.64
func (*Attribute) GetProductInfoId ¶ added in v0.0.66
func (*Attribute) GetUpdatedAt ¶ added in v0.0.64
func (*Attribute) ProtoMessage ¶ added in v0.0.64
func (*Attribute) ProtoMessage()
func (*Attribute) ProtoReflect ¶ added in v0.0.64
func (x *Attribute) ProtoReflect() protoreflect.Message
func (*Attribute) Validate ¶ added in v0.0.64
Validate checks the field values on Attribute with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Attribute) ValidateAll ¶ added in v0.0.64
ValidateAll checks the field values on Attribute with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in AttributeMultiError, or nil if none found.
type AttributeMultiError ¶ added in v0.0.64
type AttributeMultiError []error
AttributeMultiError is an error wrapping multiple validation errors returned by Attribute.ValidateAll() if the designated constraints aren't met.
func (AttributeMultiError) AllErrors ¶ added in v0.0.64
func (m AttributeMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (AttributeMultiError) Error ¶ added in v0.0.64
func (m AttributeMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type AttributeValidationError ¶ added in v0.0.64
type AttributeValidationError struct {
// contains filtered or unexported fields
}
AttributeValidationError is the validation error returned by Attribute.Validate if the designated constraints aren't met.
func (AttributeValidationError) Cause ¶ added in v0.0.64
func (e AttributeValidationError) Cause() error
Cause function returns cause value.
func (AttributeValidationError) Error ¶ added in v0.0.64
func (e AttributeValidationError) Error() string
Error satisfies the builtin error interface
func (AttributeValidationError) ErrorName ¶ added in v0.0.64
func (e AttributeValidationError) ErrorName() string
ErrorName returns error name.
func (AttributeValidationError) Field ¶ added in v0.0.64
func (e AttributeValidationError) Field() string
Field function returns field value.
func (AttributeValidationError) Key ¶ added in v0.0.64
func (e AttributeValidationError) Key() bool
Key function returns key value.
func (AttributeValidationError) Reason ¶ added in v0.0.64
func (e AttributeValidationError) Reason() string
Reason function returns reason value.
type CategoryInfo ¶ added in v0.0.48
type CategoryInfo struct { // 产品Id Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 产品Id ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // 分类名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 单位 Unit string `protobuf:"bytes,4,opt,name=unit,proto3" json:"unit,omitempty"` // 单价 Price uint64 `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"` // 阶梯价格 Step string `protobuf:"bytes,6,opt,name=step,proto3" json:"step,omitempty"` // 排序 Sort uint64 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"` // 创建时间 CreatedAt string `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 最后编辑时间 UpdatedAt string `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 最后删除时间 DeletedAt string `protobuf:"bytes,10,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*CategoryInfo) Descriptor
deprecated
added in
v0.0.48
func (*CategoryInfo) Descriptor() ([]byte, []int)
Deprecated: Use CategoryInfo.ProtoReflect.Descriptor instead.
func (*CategoryInfo) GetCreatedAt ¶ added in v0.0.60
func (x *CategoryInfo) GetCreatedAt() string
func (*CategoryInfo) GetDeletedAt ¶ added in v0.0.60
func (x *CategoryInfo) GetDeletedAt() string
func (*CategoryInfo) GetId ¶ added in v0.0.48
func (x *CategoryInfo) GetId() uint64
func (*CategoryInfo) GetName ¶ added in v0.0.48
func (x *CategoryInfo) GetName() string
func (*CategoryInfo) GetPrice ¶ added in v0.0.48
func (x *CategoryInfo) GetPrice() uint64
func (*CategoryInfo) GetProductId ¶ added in v0.0.48
func (x *CategoryInfo) GetProductId() uint64
func (*CategoryInfo) GetSort ¶ added in v0.0.48
func (x *CategoryInfo) GetSort() uint64
func (*CategoryInfo) GetStep ¶ added in v0.0.48
func (x *CategoryInfo) GetStep() string
func (*CategoryInfo) GetUnit ¶ added in v0.0.48
func (x *CategoryInfo) GetUnit() string
func (*CategoryInfo) GetUpdatedAt ¶ added in v0.0.60
func (x *CategoryInfo) GetUpdatedAt() string
func (*CategoryInfo) ProtoMessage ¶ added in v0.0.48
func (*CategoryInfo) ProtoMessage()
func (*CategoryInfo) ProtoReflect ¶ added in v0.0.48
func (x *CategoryInfo) ProtoReflect() protoreflect.Message
func (*CategoryInfo) Reset ¶ added in v0.0.48
func (x *CategoryInfo) Reset()
func (*CategoryInfo) String ¶ added in v0.0.48
func (x *CategoryInfo) String() string
func (*CategoryInfo) Validate ¶ added in v0.0.48
func (m *CategoryInfo) Validate() error
Validate checks the field values on CategoryInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CategoryInfo) ValidateAll ¶ added in v0.0.48
func (m *CategoryInfo) ValidateAll() error
ValidateAll checks the field values on CategoryInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CategoryInfoMultiError, or nil if none found.
type CategoryInfoMultiError ¶ added in v0.0.48
type CategoryInfoMultiError []error
CategoryInfoMultiError is an error wrapping multiple validation errors returned by CategoryInfo.ValidateAll() if the designated constraints aren't met.
func (CategoryInfoMultiError) AllErrors ¶ added in v0.0.48
func (m CategoryInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CategoryInfoMultiError) Error ¶ added in v0.0.48
func (m CategoryInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CategoryInfoValidationError ¶ added in v0.0.48
type CategoryInfoValidationError struct {
// contains filtered or unexported fields
}
CategoryInfoValidationError is the validation error returned by CategoryInfo.Validate if the designated constraints aren't met.
func (CategoryInfoValidationError) Cause ¶ added in v0.0.48
func (e CategoryInfoValidationError) Cause() error
Cause function returns cause value.
func (CategoryInfoValidationError) Error ¶ added in v0.0.48
func (e CategoryInfoValidationError) Error() string
Error satisfies the builtin error interface
func (CategoryInfoValidationError) ErrorName ¶ added in v0.0.48
func (e CategoryInfoValidationError) ErrorName() string
ErrorName returns error name.
func (CategoryInfoValidationError) Field ¶ added in v0.0.48
func (e CategoryInfoValidationError) Field() string
Field function returns field value.
func (CategoryInfoValidationError) Key ¶ added in v0.0.48
func (e CategoryInfoValidationError) Key() bool
Key function returns key value.
func (CategoryInfoValidationError) Reason ¶ added in v0.0.48
func (e CategoryInfoValidationError) Reason() string
Reason function returns reason value.
type CreateAttributeReq ¶ added in v0.0.64
type CreateAttributeReq struct { // 产品详情Id ProductInfoId uint64 `protobuf:"varint,1,opt,name=product_info_id,json=productInfoId,proto3" json:"product_info_id,omitempty"` // 产品类型名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateAttributeReq) Descriptor
deprecated
added in
v0.0.64
func (*CreateAttributeReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateAttributeReq.ProtoReflect.Descriptor instead.
func (*CreateAttributeReq) GetName ¶ added in v0.0.64
func (x *CreateAttributeReq) GetName() string
func (*CreateAttributeReq) GetProductInfoId ¶ added in v0.0.66
func (x *CreateAttributeReq) GetProductInfoId() uint64
func (*CreateAttributeReq) ProtoMessage ¶ added in v0.0.64
func (*CreateAttributeReq) ProtoMessage()
func (*CreateAttributeReq) ProtoReflect ¶ added in v0.0.64
func (x *CreateAttributeReq) ProtoReflect() protoreflect.Message
func (*CreateAttributeReq) Reset ¶ added in v0.0.64
func (x *CreateAttributeReq) Reset()
func (*CreateAttributeReq) String ¶ added in v0.0.64
func (x *CreateAttributeReq) String() string
func (*CreateAttributeReq) Validate ¶ added in v0.0.64
func (m *CreateAttributeReq) Validate() error
Validate checks the field values on CreateAttributeReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateAttributeReq) ValidateAll ¶ added in v0.0.64
func (m *CreateAttributeReq) ValidateAll() error
ValidateAll checks the field values on CreateAttributeReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateAttributeReqMultiError, or nil if none found.
type CreateAttributeReqMultiError ¶ added in v0.0.64
type CreateAttributeReqMultiError []error
CreateAttributeReqMultiError is an error wrapping multiple validation errors returned by CreateAttributeReq.ValidateAll() if the designated constraints aren't met.
func (CreateAttributeReqMultiError) AllErrors ¶ added in v0.0.64
func (m CreateAttributeReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateAttributeReqMultiError) Error ¶ added in v0.0.64
func (m CreateAttributeReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateAttributeReqValidationError ¶ added in v0.0.64
type CreateAttributeReqValidationError struct {
// contains filtered or unexported fields
}
CreateAttributeReqValidationError is the validation error returned by CreateAttributeReq.Validate if the designated constraints aren't met.
func (CreateAttributeReqValidationError) Cause ¶ added in v0.0.64
func (e CreateAttributeReqValidationError) Cause() error
Cause function returns cause value.
func (CreateAttributeReqValidationError) Error ¶ added in v0.0.64
func (e CreateAttributeReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateAttributeReqValidationError) ErrorName ¶ added in v0.0.64
func (e CreateAttributeReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateAttributeReqValidationError) Field ¶ added in v0.0.64
func (e CreateAttributeReqValidationError) Field() string
Field function returns field value.
func (CreateAttributeReqValidationError) Key ¶ added in v0.0.64
func (e CreateAttributeReqValidationError) Key() bool
Key function returns key value.
func (CreateAttributeReqValidationError) Reason ¶ added in v0.0.64
func (e CreateAttributeReqValidationError) Reason() string
Reason function returns reason value.
type CreateCategoryReq ¶ added in v0.0.48
type CreateCategoryReq struct { // 产品Id ProductId uint64 `protobuf:"varint,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // 分类名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 单位 Unit string `protobuf:"bytes,3,opt,name=unit,proto3" json:"unit,omitempty"` // 单价 Price uint64 `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"` // 阶梯价格 Step string `protobuf:"bytes,5,opt,name=step,proto3" json:"step,omitempty"` // 排序 Sort uint64 `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*CreateCategoryReq) Descriptor
deprecated
added in
v0.0.48
func (*CreateCategoryReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateCategoryReq.ProtoReflect.Descriptor instead.
func (*CreateCategoryReq) GetName ¶ added in v0.0.48
func (x *CreateCategoryReq) GetName() string
func (*CreateCategoryReq) GetPrice ¶ added in v0.0.48
func (x *CreateCategoryReq) GetPrice() uint64
func (*CreateCategoryReq) GetProductId ¶ added in v0.0.48
func (x *CreateCategoryReq) GetProductId() uint64
func (*CreateCategoryReq) GetSort ¶ added in v0.0.48
func (x *CreateCategoryReq) GetSort() uint64
func (*CreateCategoryReq) GetStep ¶ added in v0.0.48
func (x *CreateCategoryReq) GetStep() string
func (*CreateCategoryReq) GetUnit ¶ added in v0.0.48
func (x *CreateCategoryReq) GetUnit() string
func (*CreateCategoryReq) ProtoMessage ¶ added in v0.0.48
func (*CreateCategoryReq) ProtoMessage()
func (*CreateCategoryReq) ProtoReflect ¶ added in v0.0.48
func (x *CreateCategoryReq) ProtoReflect() protoreflect.Message
func (*CreateCategoryReq) Reset ¶ added in v0.0.48
func (x *CreateCategoryReq) Reset()
func (*CreateCategoryReq) String ¶ added in v0.0.48
func (x *CreateCategoryReq) String() string
func (*CreateCategoryReq) Validate ¶ added in v0.0.48
func (m *CreateCategoryReq) Validate() error
Validate checks the field values on CreateCategoryReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateCategoryReq) ValidateAll ¶ added in v0.0.48
func (m *CreateCategoryReq) ValidateAll() error
ValidateAll checks the field values on CreateCategoryReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateCategoryReqMultiError, or nil if none found.
type CreateCategoryReqMultiError ¶ added in v0.0.48
type CreateCategoryReqMultiError []error
CreateCategoryReqMultiError is an error wrapping multiple validation errors returned by CreateCategoryReq.ValidateAll() if the designated constraints aren't met.
func (CreateCategoryReqMultiError) AllErrors ¶ added in v0.0.48
func (m CreateCategoryReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateCategoryReqMultiError) Error ¶ added in v0.0.48
func (m CreateCategoryReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateCategoryReqValidationError ¶ added in v0.0.48
type CreateCategoryReqValidationError struct {
// contains filtered or unexported fields
}
CreateCategoryReqValidationError is the validation error returned by CreateCategoryReq.Validate if the designated constraints aren't met.
func (CreateCategoryReqValidationError) Cause ¶ added in v0.0.48
func (e CreateCategoryReqValidationError) Cause() error
Cause function returns cause value.
func (CreateCategoryReqValidationError) Error ¶ added in v0.0.48
func (e CreateCategoryReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateCategoryReqValidationError) ErrorName ¶ added in v0.0.48
func (e CreateCategoryReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateCategoryReqValidationError) Field ¶ added in v0.0.48
func (e CreateCategoryReqValidationError) Field() string
Field function returns field value.
func (CreateCategoryReqValidationError) Key ¶ added in v0.0.48
func (e CreateCategoryReqValidationError) Key() bool
Key function returns key value.
func (CreateCategoryReqValidationError) Reason ¶ added in v0.0.48
func (e CreateCategoryReqValidationError) Reason() string
Reason function returns reason value.
type CreateKindReq ¶
type CreateKindReq struct { // 产品类型名称 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*CreateKindReq) Descriptor
deprecated
func (*CreateKindReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateKindReq.ProtoReflect.Descriptor instead.
func (*CreateKindReq) GetName ¶
func (x *CreateKindReq) GetName() string
func (*CreateKindReq) ProtoMessage ¶
func (*CreateKindReq) ProtoMessage()
func (*CreateKindReq) ProtoReflect ¶
func (x *CreateKindReq) ProtoReflect() protoreflect.Message
func (*CreateKindReq) Reset ¶
func (x *CreateKindReq) Reset()
func (*CreateKindReq) String ¶
func (x *CreateKindReq) String() string
func (*CreateKindReq) Validate ¶
func (m *CreateKindReq) Validate() error
Validate checks the field values on CreateKindReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateKindReq) ValidateAll ¶
func (m *CreateKindReq) ValidateAll() error
ValidateAll checks the field values on CreateKindReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateKindReqMultiError, or nil if none found.
type CreateKindReqMultiError ¶
type CreateKindReqMultiError []error
CreateKindReqMultiError is an error wrapping multiple validation errors returned by CreateKindReq.ValidateAll() if the designated constraints aren't met.
func (CreateKindReqMultiError) AllErrors ¶
func (m CreateKindReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateKindReqMultiError) Error ¶
func (m CreateKindReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateKindReqValidationError ¶
type CreateKindReqValidationError struct {
// contains filtered or unexported fields
}
CreateKindReqValidationError is the validation error returned by CreateKindReq.Validate if the designated constraints aren't met.
func (CreateKindReqValidationError) Cause ¶
func (e CreateKindReqValidationError) Cause() error
Cause function returns cause value.
func (CreateKindReqValidationError) Error ¶
func (e CreateKindReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateKindReqValidationError) ErrorName ¶
func (e CreateKindReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateKindReqValidationError) Field ¶
func (e CreateKindReqValidationError) Field() string
Field function returns field value.
func (CreateKindReqValidationError) Key ¶
func (e CreateKindReqValidationError) Key() bool
Key function returns key value.
func (CreateKindReqValidationError) Reason ¶
func (e CreateKindReqValidationError) Reason() string
Reason function returns reason value.
type CreateProductInfoReq ¶ added in v0.0.48
type CreateProductInfoReq struct { // 产品Id ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // 产品类型id KindId uint64 `protobuf:"varint,3,opt,name=kind_id,json=kindId,proto3" json:"kind_id,omitempty"` // 产品分类 CategoryId uint64 `protobuf:"varint,4,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` // 产品图片 Img string `protobuf:"bytes,5,opt,name=img,proto3" json:"img,omitempty"` // 产品关键字 Keywords string `protobuf:"bytes,6,opt,name=keywords,proto3" json:"keywords,omitempty"` // 产品简介 Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // 自定义Url路径 Path string `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"` // 产品数量 Num uint64 `protobuf:"varint,9,opt,name=num,proto3" json:"num,omitempty"` // 控制类型 Control uint64 `protobuf:"varint,10,opt,name=control,proto3" json:"control,omitempty"` // 排序 Sort uint64 `protobuf:"varint,11,opt,name=sort,proto3" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*CreateProductInfoReq) Descriptor
deprecated
added in
v0.0.48
func (*CreateProductInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateProductInfoReq.ProtoReflect.Descriptor instead.
func (*CreateProductInfoReq) GetCategoryId ¶ added in v0.0.48
func (x *CreateProductInfoReq) GetCategoryId() uint64
func (*CreateProductInfoReq) GetControl ¶ added in v0.0.48
func (x *CreateProductInfoReq) GetControl() uint64
func (*CreateProductInfoReq) GetDescription ¶ added in v0.0.48
func (x *CreateProductInfoReq) GetDescription() string
func (*CreateProductInfoReq) GetImg ¶ added in v0.0.48
func (x *CreateProductInfoReq) GetImg() string
func (*CreateProductInfoReq) GetKeywords ¶ added in v0.0.48
func (x *CreateProductInfoReq) GetKeywords() string
func (*CreateProductInfoReq) GetKindId ¶ added in v0.0.48
func (x *CreateProductInfoReq) GetKindId() uint64
func (*CreateProductInfoReq) GetNum ¶ added in v0.0.48
func (x *CreateProductInfoReq) GetNum() uint64
func (*CreateProductInfoReq) GetPath ¶ added in v0.0.48
func (x *CreateProductInfoReq) GetPath() string
func (*CreateProductInfoReq) GetProductId ¶ added in v0.0.48
func (x *CreateProductInfoReq) GetProductId() uint64
func (*CreateProductInfoReq) GetSort ¶ added in v0.0.48
func (x *CreateProductInfoReq) GetSort() uint64
func (*CreateProductInfoReq) ProtoMessage ¶ added in v0.0.48
func (*CreateProductInfoReq) ProtoMessage()
func (*CreateProductInfoReq) ProtoReflect ¶ added in v0.0.48
func (x *CreateProductInfoReq) ProtoReflect() protoreflect.Message
func (*CreateProductInfoReq) Reset ¶ added in v0.0.48
func (x *CreateProductInfoReq) Reset()
func (*CreateProductInfoReq) String ¶ added in v0.0.48
func (x *CreateProductInfoReq) String() string
func (*CreateProductInfoReq) Validate ¶ added in v0.0.48
func (m *CreateProductInfoReq) Validate() error
Validate checks the field values on CreateProductInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateProductInfoReq) ValidateAll ¶ added in v0.0.48
func (m *CreateProductInfoReq) ValidateAll() error
ValidateAll checks the field values on CreateProductInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateProductInfoReqMultiError, or nil if none found.
type CreateProductInfoReqMultiError ¶ added in v0.0.48
type CreateProductInfoReqMultiError []error
CreateProductInfoReqMultiError is an error wrapping multiple validation errors returned by CreateProductInfoReq.ValidateAll() if the designated constraints aren't met.
func (CreateProductInfoReqMultiError) AllErrors ¶ added in v0.0.48
func (m CreateProductInfoReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateProductInfoReqMultiError) Error ¶ added in v0.0.48
func (m CreateProductInfoReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateProductInfoReqValidationError ¶ added in v0.0.48
type CreateProductInfoReqValidationError struct {
// contains filtered or unexported fields
}
CreateProductInfoReqValidationError is the validation error returned by CreateProductInfoReq.Validate if the designated constraints aren't met.
func (CreateProductInfoReqValidationError) Cause ¶ added in v0.0.48
func (e CreateProductInfoReqValidationError) Cause() error
Cause function returns cause value.
func (CreateProductInfoReqValidationError) Error ¶ added in v0.0.48
func (e CreateProductInfoReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProductInfoReqValidationError) ErrorName ¶ added in v0.0.48
func (e CreateProductInfoReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProductInfoReqValidationError) Field ¶ added in v0.0.48
func (e CreateProductInfoReqValidationError) Field() string
Field function returns field value.
func (CreateProductInfoReqValidationError) Key ¶ added in v0.0.48
func (e CreateProductInfoReqValidationError) Key() bool
Key function returns key value.
func (CreateProductInfoReqValidationError) Reason ¶ added in v0.0.48
func (e CreateProductInfoReqValidationError) Reason() string
Reason function returns reason value.
type CreateProductReq ¶
type CreateProductReq struct { // 产品类型ID KindId uint64 `protobuf:"varint,1,opt,name=kind_id,json=kindId,proto3" json:"kind_id,omitempty"` // 产品名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 关键字 Keyword string `protobuf:"bytes,3,opt,name=keyword,proto3" json:"keyword,omitempty"` // 简介 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 简介 Path string `protobuf:"bytes,5,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*CreateProductReq) Descriptor
deprecated
func (*CreateProductReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateProductReq.ProtoReflect.Descriptor instead.
func (*CreateProductReq) GetDescription ¶
func (x *CreateProductReq) GetDescription() string
func (*CreateProductReq) GetKeyword ¶
func (x *CreateProductReq) GetKeyword() string
func (*CreateProductReq) GetKindId ¶
func (x *CreateProductReq) GetKindId() uint64
func (*CreateProductReq) GetName ¶
func (x *CreateProductReq) GetName() string
func (*CreateProductReq) GetPath ¶ added in v0.0.58
func (x *CreateProductReq) GetPath() string
func (*CreateProductReq) ProtoMessage ¶
func (*CreateProductReq) ProtoMessage()
func (*CreateProductReq) ProtoReflect ¶
func (x *CreateProductReq) ProtoReflect() protoreflect.Message
func (*CreateProductReq) Reset ¶
func (x *CreateProductReq) Reset()
func (*CreateProductReq) String ¶
func (x *CreateProductReq) String() string
func (*CreateProductReq) Validate ¶
func (m *CreateProductReq) Validate() error
Validate checks the field values on CreateProductReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateProductReq) ValidateAll ¶
func (m *CreateProductReq) ValidateAll() error
ValidateAll checks the field values on CreateProductReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateProductReqMultiError, or nil if none found.
type CreateProductReqMultiError ¶
type CreateProductReqMultiError []error
CreateProductReqMultiError is an error wrapping multiple validation errors returned by CreateProductReq.ValidateAll() if the designated constraints aren't met.
func (CreateProductReqMultiError) AllErrors ¶
func (m CreateProductReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateProductReqMultiError) Error ¶
func (m CreateProductReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateProductReqValidationError ¶
type CreateProductReqValidationError struct {
// contains filtered or unexported fields
}
CreateProductReqValidationError is the validation error returned by CreateProductReq.Validate if the designated constraints aren't met.
func (CreateProductReqValidationError) Cause ¶
func (e CreateProductReqValidationError) Cause() error
Cause function returns cause value.
func (CreateProductReqValidationError) Error ¶
func (e CreateProductReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProductReqValidationError) ErrorName ¶
func (e CreateProductReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProductReqValidationError) Field ¶
func (e CreateProductReqValidationError) Field() string
Field function returns field value.
func (CreateProductReqValidationError) Key ¶
func (e CreateProductReqValidationError) Key() bool
Key function returns key value.
func (CreateProductReqValidationError) Reason ¶
func (e CreateProductReqValidationError) Reason() string
Reason function returns reason value.
type CreateProductTerminalReq ¶ added in v0.0.48
type CreateProductTerminalReq struct { // 产品Id ProductId uint64 `protobuf:"varint,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // 区域Id RegionId uint64 `protobuf:"varint,2,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` // 终端Id TerminalId uint64 `protobuf:"varint,3,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"` // contains filtered or unexported fields }
func (*CreateProductTerminalReq) Descriptor
deprecated
added in
v0.0.48
func (*CreateProductTerminalReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateProductTerminalReq.ProtoReflect.Descriptor instead.
func (*CreateProductTerminalReq) GetProductId ¶ added in v0.0.48
func (x *CreateProductTerminalReq) GetProductId() uint64
func (*CreateProductTerminalReq) GetRegionId ¶ added in v0.0.48
func (x *CreateProductTerminalReq) GetRegionId() uint64
func (*CreateProductTerminalReq) GetTerminalId ¶ added in v0.0.48
func (x *CreateProductTerminalReq) GetTerminalId() uint64
func (*CreateProductTerminalReq) ProtoMessage ¶ added in v0.0.48
func (*CreateProductTerminalReq) ProtoMessage()
func (*CreateProductTerminalReq) ProtoReflect ¶ added in v0.0.48
func (x *CreateProductTerminalReq) ProtoReflect() protoreflect.Message
func (*CreateProductTerminalReq) Reset ¶ added in v0.0.48
func (x *CreateProductTerminalReq) Reset()
func (*CreateProductTerminalReq) String ¶ added in v0.0.48
func (x *CreateProductTerminalReq) String() string
func (*CreateProductTerminalReq) Validate ¶ added in v0.0.48
func (m *CreateProductTerminalReq) Validate() error
Validate checks the field values on CreateProductTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateProductTerminalReq) ValidateAll ¶ added in v0.0.48
func (m *CreateProductTerminalReq) ValidateAll() error
ValidateAll checks the field values on CreateProductTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateProductTerminalReqMultiError, or nil if none found.
type CreateProductTerminalReqMultiError ¶ added in v0.0.48
type CreateProductTerminalReqMultiError []error
CreateProductTerminalReqMultiError is an error wrapping multiple validation errors returned by CreateProductTerminalReq.ValidateAll() if the designated constraints aren't met.
func (CreateProductTerminalReqMultiError) AllErrors ¶ added in v0.0.48
func (m CreateProductTerminalReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateProductTerminalReqMultiError) Error ¶ added in v0.0.48
func (m CreateProductTerminalReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateProductTerminalReqValidationError ¶ added in v0.0.48
type CreateProductTerminalReqValidationError struct {
// contains filtered or unexported fields
}
CreateProductTerminalReqValidationError is the validation error returned by CreateProductTerminalReq.Validate if the designated constraints aren't met.
func (CreateProductTerminalReqValidationError) Cause ¶ added in v0.0.48
func (e CreateProductTerminalReqValidationError) Cause() error
Cause function returns cause value.
func (CreateProductTerminalReqValidationError) Error ¶ added in v0.0.48
func (e CreateProductTerminalReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProductTerminalReqValidationError) ErrorName ¶ added in v0.0.48
func (e CreateProductTerminalReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProductTerminalReqValidationError) Field ¶ added in v0.0.48
func (e CreateProductTerminalReqValidationError) Field() string
Field function returns field value.
func (CreateProductTerminalReqValidationError) Key ¶ added in v0.0.48
func (e CreateProductTerminalReqValidationError) Key() bool
Key function returns key value.
func (CreateProductTerminalReqValidationError) Reason ¶ added in v0.0.48
func (e CreateProductTerminalReqValidationError) Reason() string
Reason function returns reason value.
type CreateRegionReq ¶ added in v0.0.48
type CreateRegionReq struct { // 产品Id ProductId uint64 `protobuf:"varint,1,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // 区域名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 国家代码 Country string `protobuf:"bytes,3,opt,name=country,proto3" json:"country,omitempty"` // 单价 Price uint64 `protobuf:"varint,4,opt,name=price,proto3" json:"price,omitempty"` // 阶梯价格 Step string `protobuf:"bytes,5,opt,name=step,proto3" json:"step,omitempty"` // 排序 Sort uint64 `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*CreateRegionReq) Descriptor
deprecated
added in
v0.0.48
func (*CreateRegionReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateRegionReq.ProtoReflect.Descriptor instead.
func (*CreateRegionReq) GetCountry ¶ added in v0.0.48
func (x *CreateRegionReq) GetCountry() string
func (*CreateRegionReq) GetName ¶ added in v0.0.48
func (x *CreateRegionReq) GetName() string
func (*CreateRegionReq) GetPrice ¶ added in v0.0.48
func (x *CreateRegionReq) GetPrice() uint64
func (*CreateRegionReq) GetProductId ¶ added in v0.0.48
func (x *CreateRegionReq) GetProductId() uint64
func (*CreateRegionReq) GetSort ¶ added in v0.0.48
func (x *CreateRegionReq) GetSort() uint64
func (*CreateRegionReq) GetStep ¶ added in v0.0.48
func (x *CreateRegionReq) GetStep() string
func (*CreateRegionReq) ProtoMessage ¶ added in v0.0.48
func (*CreateRegionReq) ProtoMessage()
func (*CreateRegionReq) ProtoReflect ¶ added in v0.0.48
func (x *CreateRegionReq) ProtoReflect() protoreflect.Message
func (*CreateRegionReq) Reset ¶ added in v0.0.48
func (x *CreateRegionReq) Reset()
func (*CreateRegionReq) String ¶ added in v0.0.48
func (x *CreateRegionReq) String() string
func (*CreateRegionReq) Validate ¶ added in v0.0.48
func (m *CreateRegionReq) Validate() error
Validate checks the field values on CreateRegionReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateRegionReq) ValidateAll ¶ added in v0.0.48
func (m *CreateRegionReq) ValidateAll() error
ValidateAll checks the field values on CreateRegionReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateRegionReqMultiError, or nil if none found.
type CreateRegionReqMultiError ¶ added in v0.0.48
type CreateRegionReqMultiError []error
CreateRegionReqMultiError is an error wrapping multiple validation errors returned by CreateRegionReq.ValidateAll() if the designated constraints aren't met.
func (CreateRegionReqMultiError) AllErrors ¶ added in v0.0.48
func (m CreateRegionReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateRegionReqMultiError) Error ¶ added in v0.0.48
func (m CreateRegionReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateRegionReqValidationError ¶ added in v0.0.48
type CreateRegionReqValidationError struct {
// contains filtered or unexported fields
}
CreateRegionReqValidationError is the validation error returned by CreateRegionReq.Validate if the designated constraints aren't met.
func (CreateRegionReqValidationError) Cause ¶ added in v0.0.48
func (e CreateRegionReqValidationError) Cause() error
Cause function returns cause value.
func (CreateRegionReqValidationError) Error ¶ added in v0.0.48
func (e CreateRegionReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateRegionReqValidationError) ErrorName ¶ added in v0.0.48
func (e CreateRegionReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateRegionReqValidationError) Field ¶ added in v0.0.48
func (e CreateRegionReqValidationError) Field() string
Field function returns field value.
func (CreateRegionReqValidationError) Key ¶ added in v0.0.48
func (e CreateRegionReqValidationError) Key() bool
Key function returns key value.
func (CreateRegionReqValidationError) Reason ¶ added in v0.0.48
func (e CreateRegionReqValidationError) Reason() string
Reason function returns reason value.
type CreateTerminalReq ¶
type CreateTerminalReq struct { // 终端名称 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 关键字 Keywords string `protobuf:"bytes,2,opt,name=keywords,proto3" json:"keywords,omitempty"` // 简介 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // 图片 Img string `protobuf:"bytes,4,opt,name=img,proto3" json:"img,omitempty"` // 排序 Sort uint64 `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*CreateTerminalReq) Descriptor
deprecated
func (*CreateTerminalReq) Descriptor() ([]byte, []int)
Deprecated: Use CreateTerminalReq.ProtoReflect.Descriptor instead.
func (*CreateTerminalReq) GetDescription ¶
func (x *CreateTerminalReq) GetDescription() string
func (*CreateTerminalReq) GetImg ¶
func (x *CreateTerminalReq) GetImg() string
func (*CreateTerminalReq) GetKeywords ¶
func (x *CreateTerminalReq) GetKeywords() string
func (*CreateTerminalReq) GetName ¶
func (x *CreateTerminalReq) GetName() string
func (*CreateTerminalReq) GetSort ¶
func (x *CreateTerminalReq) GetSort() uint64
func (*CreateTerminalReq) ProtoMessage ¶
func (*CreateTerminalReq) ProtoMessage()
func (*CreateTerminalReq) ProtoReflect ¶
func (x *CreateTerminalReq) ProtoReflect() protoreflect.Message
func (*CreateTerminalReq) Reset ¶
func (x *CreateTerminalReq) Reset()
func (*CreateTerminalReq) String ¶
func (x *CreateTerminalReq) String() string
func (*CreateTerminalReq) Validate ¶
func (m *CreateTerminalReq) Validate() error
Validate checks the field values on CreateTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*CreateTerminalReq) ValidateAll ¶
func (m *CreateTerminalReq) ValidateAll() error
ValidateAll checks the field values on CreateTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in CreateTerminalReqMultiError, or nil if none found.
type CreateTerminalReqMultiError ¶
type CreateTerminalReqMultiError []error
CreateTerminalReqMultiError is an error wrapping multiple validation errors returned by CreateTerminalReq.ValidateAll() if the designated constraints aren't met.
func (CreateTerminalReqMultiError) AllErrors ¶
func (m CreateTerminalReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (CreateTerminalReqMultiError) Error ¶
func (m CreateTerminalReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type CreateTerminalReqValidationError ¶
type CreateTerminalReqValidationError struct {
// contains filtered or unexported fields
}
CreateTerminalReqValidationError is the validation error returned by CreateTerminalReq.Validate if the designated constraints aren't met.
func (CreateTerminalReqValidationError) Cause ¶
func (e CreateTerminalReqValidationError) Cause() error
Cause function returns cause value.
func (CreateTerminalReqValidationError) Error ¶
func (e CreateTerminalReqValidationError) Error() string
Error satisfies the builtin error interface
func (CreateTerminalReqValidationError) ErrorName ¶
func (e CreateTerminalReqValidationError) ErrorName() string
ErrorName returns error name.
func (CreateTerminalReqValidationError) Field ¶
func (e CreateTerminalReqValidationError) Field() string
Field function returns field value.
func (CreateTerminalReqValidationError) Key ¶
func (e CreateTerminalReqValidationError) Key() bool
Key function returns key value.
func (CreateTerminalReqValidationError) Reason ¶
func (e CreateTerminalReqValidationError) Reason() string
Reason function returns reason value.
type DelIdReq ¶
type DelIdReq struct { // 主键 Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // contains filtered or unexported fields }
func (*DelIdReq) Descriptor
deprecated
func (*DelIdReq) ProtoMessage ¶
func (*DelIdReq) ProtoMessage()
func (*DelIdReq) ProtoReflect ¶
func (x *DelIdReq) ProtoReflect() protoreflect.Message
func (*DelIdReq) Validate ¶
Validate checks the field values on DelIdReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*DelIdReq) ValidateAll ¶
ValidateAll checks the field values on DelIdReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in DelIdReqMultiError, or nil if none found.
type DelIdReqMultiError ¶
type DelIdReqMultiError []error
DelIdReqMultiError is an error wrapping multiple validation errors returned by DelIdReq.ValidateAll() if the designated constraints aren't met.
func (DelIdReqMultiError) AllErrors ¶
func (m DelIdReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (DelIdReqMultiError) Error ¶
func (m DelIdReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type DelIdReqValidationError ¶
type DelIdReqValidationError struct {
// contains filtered or unexported fields
}
DelIdReqValidationError is the validation error returned by DelIdReq.Validate if the designated constraints aren't met.
func (DelIdReqValidationError) Cause ¶
func (e DelIdReqValidationError) Cause() error
Cause function returns cause value.
func (DelIdReqValidationError) Error ¶
func (e DelIdReqValidationError) Error() string
Error satisfies the builtin error interface
func (DelIdReqValidationError) ErrorName ¶
func (e DelIdReqValidationError) ErrorName() string
ErrorName returns error name.
func (DelIdReqValidationError) Field ¶
func (e DelIdReqValidationError) Field() string
Field function returns field value.
func (DelIdReqValidationError) Key ¶
func (e DelIdReqValidationError) Key() bool
Key function returns key value.
func (DelIdReqValidationError) Reason ¶
func (e DelIdReqValidationError) Reason() string
Reason function returns reason value.
type EditAttributeReq ¶ added in v0.0.64
type EditAttributeReq struct { // 主键 Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 产品详情Id ProductInfoId uint64 `protobuf:"varint,2,opt,name=product_info_id,json=productInfoId,proto3" json:"product_info_id,omitempty"` // 产品类型名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*EditAttributeReq) Descriptor
deprecated
added in
v0.0.64
func (*EditAttributeReq) Descriptor() ([]byte, []int)
Deprecated: Use EditAttributeReq.ProtoReflect.Descriptor instead.
func (*EditAttributeReq) GetId ¶ added in v0.0.64
func (x *EditAttributeReq) GetId() uint64
func (*EditAttributeReq) GetName ¶ added in v0.0.64
func (x *EditAttributeReq) GetName() string
func (*EditAttributeReq) GetProductInfoId ¶ added in v0.0.66
func (x *EditAttributeReq) GetProductInfoId() uint64
func (*EditAttributeReq) ProtoMessage ¶ added in v0.0.64
func (*EditAttributeReq) ProtoMessage()
func (*EditAttributeReq) ProtoReflect ¶ added in v0.0.64
func (x *EditAttributeReq) ProtoReflect() protoreflect.Message
func (*EditAttributeReq) Reset ¶ added in v0.0.64
func (x *EditAttributeReq) Reset()
func (*EditAttributeReq) String ¶ added in v0.0.64
func (x *EditAttributeReq) String() string
func (*EditAttributeReq) Validate ¶ added in v0.0.64
func (m *EditAttributeReq) Validate() error
Validate checks the field values on EditAttributeReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EditAttributeReq) ValidateAll ¶ added in v0.0.64
func (m *EditAttributeReq) ValidateAll() error
ValidateAll checks the field values on EditAttributeReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditAttributeReqMultiError, or nil if none found.
type EditAttributeReqMultiError ¶ added in v0.0.64
type EditAttributeReqMultiError []error
EditAttributeReqMultiError is an error wrapping multiple validation errors returned by EditAttributeReq.ValidateAll() if the designated constraints aren't met.
func (EditAttributeReqMultiError) AllErrors ¶ added in v0.0.64
func (m EditAttributeReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditAttributeReqMultiError) Error ¶ added in v0.0.64
func (m EditAttributeReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditAttributeReqValidationError ¶ added in v0.0.64
type EditAttributeReqValidationError struct {
// contains filtered or unexported fields
}
EditAttributeReqValidationError is the validation error returned by EditAttributeReq.Validate if the designated constraints aren't met.
func (EditAttributeReqValidationError) Cause ¶ added in v0.0.64
func (e EditAttributeReqValidationError) Cause() error
Cause function returns cause value.
func (EditAttributeReqValidationError) Error ¶ added in v0.0.64
func (e EditAttributeReqValidationError) Error() string
Error satisfies the builtin error interface
func (EditAttributeReqValidationError) ErrorName ¶ added in v0.0.64
func (e EditAttributeReqValidationError) ErrorName() string
ErrorName returns error name.
func (EditAttributeReqValidationError) Field ¶ added in v0.0.64
func (e EditAttributeReqValidationError) Field() string
Field function returns field value.
func (EditAttributeReqValidationError) Key ¶ added in v0.0.64
func (e EditAttributeReqValidationError) Key() bool
Key function returns key value.
func (EditAttributeReqValidationError) Reason ¶ added in v0.0.64
func (e EditAttributeReqValidationError) Reason() string
Reason function returns reason value.
type EditCategoryReq ¶ added in v0.0.48
type EditCategoryReq struct { // 分类Id Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 产品Id ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // 分类名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 单位 Unit string `protobuf:"bytes,4,opt,name=unit,proto3" json:"unit,omitempty"` // 单价 Price uint64 `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"` // 阶梯价格 Step string `protobuf:"bytes,6,opt,name=step,proto3" json:"step,omitempty"` // 排序 Sort uint64 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*EditCategoryReq) Descriptor
deprecated
added in
v0.0.48
func (*EditCategoryReq) Descriptor() ([]byte, []int)
Deprecated: Use EditCategoryReq.ProtoReflect.Descriptor instead.
func (*EditCategoryReq) GetId ¶ added in v0.0.48
func (x *EditCategoryReq) GetId() uint64
func (*EditCategoryReq) GetName ¶ added in v0.0.48
func (x *EditCategoryReq) GetName() string
func (*EditCategoryReq) GetPrice ¶ added in v0.0.48
func (x *EditCategoryReq) GetPrice() uint64
func (*EditCategoryReq) GetProductId ¶ added in v0.0.48
func (x *EditCategoryReq) GetProductId() uint64
func (*EditCategoryReq) GetSort ¶ added in v0.0.48
func (x *EditCategoryReq) GetSort() uint64
func (*EditCategoryReq) GetStep ¶ added in v0.0.48
func (x *EditCategoryReq) GetStep() string
func (*EditCategoryReq) GetUnit ¶ added in v0.0.48
func (x *EditCategoryReq) GetUnit() string
func (*EditCategoryReq) ProtoMessage ¶ added in v0.0.48
func (*EditCategoryReq) ProtoMessage()
func (*EditCategoryReq) ProtoReflect ¶ added in v0.0.48
func (x *EditCategoryReq) ProtoReflect() protoreflect.Message
func (*EditCategoryReq) Reset ¶ added in v0.0.48
func (x *EditCategoryReq) Reset()
func (*EditCategoryReq) String ¶ added in v0.0.48
func (x *EditCategoryReq) String() string
func (*EditCategoryReq) Validate ¶ added in v0.0.48
func (m *EditCategoryReq) Validate() error
Validate checks the field values on EditCategoryReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EditCategoryReq) ValidateAll ¶ added in v0.0.48
func (m *EditCategoryReq) ValidateAll() error
ValidateAll checks the field values on EditCategoryReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditCategoryReqMultiError, or nil if none found.
type EditCategoryReqMultiError ¶ added in v0.0.48
type EditCategoryReqMultiError []error
EditCategoryReqMultiError is an error wrapping multiple validation errors returned by EditCategoryReq.ValidateAll() if the designated constraints aren't met.
func (EditCategoryReqMultiError) AllErrors ¶ added in v0.0.48
func (m EditCategoryReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditCategoryReqMultiError) Error ¶ added in v0.0.48
func (m EditCategoryReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditCategoryReqValidationError ¶ added in v0.0.48
type EditCategoryReqValidationError struct {
// contains filtered or unexported fields
}
EditCategoryReqValidationError is the validation error returned by EditCategoryReq.Validate if the designated constraints aren't met.
func (EditCategoryReqValidationError) Cause ¶ added in v0.0.48
func (e EditCategoryReqValidationError) Cause() error
Cause function returns cause value.
func (EditCategoryReqValidationError) Error ¶ added in v0.0.48
func (e EditCategoryReqValidationError) Error() string
Error satisfies the builtin error interface
func (EditCategoryReqValidationError) ErrorName ¶ added in v0.0.48
func (e EditCategoryReqValidationError) ErrorName() string
ErrorName returns error name.
func (EditCategoryReqValidationError) Field ¶ added in v0.0.48
func (e EditCategoryReqValidationError) Field() string
Field function returns field value.
func (EditCategoryReqValidationError) Key ¶ added in v0.0.48
func (e EditCategoryReqValidationError) Key() bool
Key function returns key value.
func (EditCategoryReqValidationError) Reason ¶ added in v0.0.48
func (e EditCategoryReqValidationError) Reason() string
Reason function returns reason value.
type EditKindReq ¶
type EditKindReq struct { // 主键 Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 产品类型名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*EditKindReq) Descriptor
deprecated
func (*EditKindReq) Descriptor() ([]byte, []int)
Deprecated: Use EditKindReq.ProtoReflect.Descriptor instead.
func (*EditKindReq) GetId ¶ added in v0.0.51
func (x *EditKindReq) GetId() uint64
func (*EditKindReq) GetName ¶
func (x *EditKindReq) GetName() string
func (*EditKindReq) ProtoMessage ¶
func (*EditKindReq) ProtoMessage()
func (*EditKindReq) ProtoReflect ¶
func (x *EditKindReq) ProtoReflect() protoreflect.Message
func (*EditKindReq) Reset ¶
func (x *EditKindReq) Reset()
func (*EditKindReq) String ¶
func (x *EditKindReq) String() string
func (*EditKindReq) Validate ¶
func (m *EditKindReq) Validate() error
Validate checks the field values on EditKindReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EditKindReq) ValidateAll ¶
func (m *EditKindReq) ValidateAll() error
ValidateAll checks the field values on EditKindReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditKindReqMultiError, or nil if none found.
type EditKindReqMultiError ¶
type EditKindReqMultiError []error
EditKindReqMultiError is an error wrapping multiple validation errors returned by EditKindReq.ValidateAll() if the designated constraints aren't met.
func (EditKindReqMultiError) AllErrors ¶
func (m EditKindReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditKindReqMultiError) Error ¶
func (m EditKindReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditKindReqValidationError ¶
type EditKindReqValidationError struct {
// contains filtered or unexported fields
}
EditKindReqValidationError is the validation error returned by EditKindReq.Validate if the designated constraints aren't met.
func (EditKindReqValidationError) Cause ¶
func (e EditKindReqValidationError) Cause() error
Cause function returns cause value.
func (EditKindReqValidationError) Error ¶
func (e EditKindReqValidationError) Error() string
Error satisfies the builtin error interface
func (EditKindReqValidationError) ErrorName ¶
func (e EditKindReqValidationError) ErrorName() string
ErrorName returns error name.
func (EditKindReqValidationError) Field ¶
func (e EditKindReqValidationError) Field() string
Field function returns field value.
func (EditKindReqValidationError) Key ¶
func (e EditKindReqValidationError) Key() bool
Key function returns key value.
func (EditKindReqValidationError) Reason ¶
func (e EditKindReqValidationError) Reason() string
Reason function returns reason value.
type EditProductInfoReq ¶ added in v0.0.48
type EditProductInfoReq struct { // 产品详情ID Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 产品Id ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // 产品类型ID KindId uint64 `protobuf:"varint,3,opt,name=kind_id,json=kindId,proto3" json:"kind_id,omitempty"` // 产品分类 CategoryId uint64 `protobuf:"varint,4,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` // 产品图片 Img string `protobuf:"bytes,5,opt,name=img,proto3" json:"img,omitempty"` // 产品关键字 Keywords string `protobuf:"bytes,6,opt,name=keywords,proto3" json:"keywords,omitempty"` // 产品简介 Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // 自定义Url路径 Path string `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"` // 产品数量 Num uint64 `protobuf:"varint,9,opt,name=num,proto3" json:"num,omitempty"` // 控制类型 Control uint64 `protobuf:"varint,10,opt,name=control,proto3" json:"control,omitempty"` // 排序 Sort uint64 `protobuf:"varint,11,opt,name=sort,proto3" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*EditProductInfoReq) Descriptor
deprecated
added in
v0.0.48
func (*EditProductInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use EditProductInfoReq.ProtoReflect.Descriptor instead.
func (*EditProductInfoReq) GetCategoryId ¶ added in v0.0.48
func (x *EditProductInfoReq) GetCategoryId() uint64
func (*EditProductInfoReq) GetControl ¶ added in v0.0.48
func (x *EditProductInfoReq) GetControl() uint64
func (*EditProductInfoReq) GetDescription ¶ added in v0.0.48
func (x *EditProductInfoReq) GetDescription() string
func (*EditProductInfoReq) GetId ¶ added in v0.0.48
func (x *EditProductInfoReq) GetId() uint64
func (*EditProductInfoReq) GetImg ¶ added in v0.0.48
func (x *EditProductInfoReq) GetImg() string
func (*EditProductInfoReq) GetKeywords ¶ added in v0.0.48
func (x *EditProductInfoReq) GetKeywords() string
func (*EditProductInfoReq) GetKindId ¶ added in v0.0.48
func (x *EditProductInfoReq) GetKindId() uint64
func (*EditProductInfoReq) GetNum ¶ added in v0.0.48
func (x *EditProductInfoReq) GetNum() uint64
func (*EditProductInfoReq) GetPath ¶ added in v0.0.48
func (x *EditProductInfoReq) GetPath() string
func (*EditProductInfoReq) GetProductId ¶ added in v0.0.48
func (x *EditProductInfoReq) GetProductId() uint64
func (*EditProductInfoReq) GetSort ¶ added in v0.0.48
func (x *EditProductInfoReq) GetSort() uint64
func (*EditProductInfoReq) ProtoMessage ¶ added in v0.0.48
func (*EditProductInfoReq) ProtoMessage()
func (*EditProductInfoReq) ProtoReflect ¶ added in v0.0.48
func (x *EditProductInfoReq) ProtoReflect() protoreflect.Message
func (*EditProductInfoReq) Reset ¶ added in v0.0.48
func (x *EditProductInfoReq) Reset()
func (*EditProductInfoReq) String ¶ added in v0.0.48
func (x *EditProductInfoReq) String() string
func (*EditProductInfoReq) Validate ¶ added in v0.0.48
func (m *EditProductInfoReq) Validate() error
Validate checks the field values on EditProductInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EditProductInfoReq) ValidateAll ¶ added in v0.0.48
func (m *EditProductInfoReq) ValidateAll() error
ValidateAll checks the field values on EditProductInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditProductInfoReqMultiError, or nil if none found.
type EditProductInfoReqMultiError ¶ added in v0.0.48
type EditProductInfoReqMultiError []error
EditProductInfoReqMultiError is an error wrapping multiple validation errors returned by EditProductInfoReq.ValidateAll() if the designated constraints aren't met.
func (EditProductInfoReqMultiError) AllErrors ¶ added in v0.0.48
func (m EditProductInfoReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditProductInfoReqMultiError) Error ¶ added in v0.0.48
func (m EditProductInfoReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditProductInfoReqValidationError ¶ added in v0.0.48
type EditProductInfoReqValidationError struct {
// contains filtered or unexported fields
}
EditProductInfoReqValidationError is the validation error returned by EditProductInfoReq.Validate if the designated constraints aren't met.
func (EditProductInfoReqValidationError) Cause ¶ added in v0.0.48
func (e EditProductInfoReqValidationError) Cause() error
Cause function returns cause value.
func (EditProductInfoReqValidationError) Error ¶ added in v0.0.48
func (e EditProductInfoReqValidationError) Error() string
Error satisfies the builtin error interface
func (EditProductInfoReqValidationError) ErrorName ¶ added in v0.0.48
func (e EditProductInfoReqValidationError) ErrorName() string
ErrorName returns error name.
func (EditProductInfoReqValidationError) Field ¶ added in v0.0.48
func (e EditProductInfoReqValidationError) Field() string
Field function returns field value.
func (EditProductInfoReqValidationError) Key ¶ added in v0.0.48
func (e EditProductInfoReqValidationError) Key() bool
Key function returns key value.
func (EditProductInfoReqValidationError) Reason ¶ added in v0.0.48
func (e EditProductInfoReqValidationError) Reason() string
Reason function returns reason value.
type EditProductReq ¶
type EditProductReq struct { // 产品ID Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 产品类型ID KindId uint64 `protobuf:"varint,2,opt,name=kind_id,json=kindId,proto3" json:"kind_id,omitempty"` // 产品名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 关键字 Keywords string `protobuf:"bytes,4,opt,name=keywords,proto3" json:"keywords,omitempty"` // 简介 Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // 简介 Path string `protobuf:"bytes,6,opt,name=path,proto3" json:"path,omitempty"` // contains filtered or unexported fields }
func (*EditProductReq) Descriptor
deprecated
func (*EditProductReq) Descriptor() ([]byte, []int)
Deprecated: Use EditProductReq.ProtoReflect.Descriptor instead.
func (*EditProductReq) GetDescription ¶
func (x *EditProductReq) GetDescription() string
func (*EditProductReq) GetId ¶
func (x *EditProductReq) GetId() uint64
func (*EditProductReq) GetKeywords ¶
func (x *EditProductReq) GetKeywords() string
func (*EditProductReq) GetKindId ¶
func (x *EditProductReq) GetKindId() uint64
func (*EditProductReq) GetName ¶
func (x *EditProductReq) GetName() string
func (*EditProductReq) GetPath ¶ added in v0.0.58
func (x *EditProductReq) GetPath() string
func (*EditProductReq) ProtoMessage ¶
func (*EditProductReq) ProtoMessage()
func (*EditProductReq) ProtoReflect ¶
func (x *EditProductReq) ProtoReflect() protoreflect.Message
func (*EditProductReq) Reset ¶
func (x *EditProductReq) Reset()
func (*EditProductReq) String ¶
func (x *EditProductReq) String() string
func (*EditProductReq) Validate ¶
func (m *EditProductReq) Validate() error
Validate checks the field values on EditProductReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EditProductReq) ValidateAll ¶
func (m *EditProductReq) ValidateAll() error
ValidateAll checks the field values on EditProductReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditProductReqMultiError, or nil if none found.
type EditProductReqMultiError ¶
type EditProductReqMultiError []error
EditProductReqMultiError is an error wrapping multiple validation errors returned by EditProductReq.ValidateAll() if the designated constraints aren't met.
func (EditProductReqMultiError) AllErrors ¶
func (m EditProductReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditProductReqMultiError) Error ¶
func (m EditProductReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditProductReqValidationError ¶
type EditProductReqValidationError struct {
// contains filtered or unexported fields
}
EditProductReqValidationError is the validation error returned by EditProductReq.Validate if the designated constraints aren't met.
func (EditProductReqValidationError) Cause ¶
func (e EditProductReqValidationError) Cause() error
Cause function returns cause value.
func (EditProductReqValidationError) Error ¶
func (e EditProductReqValidationError) Error() string
Error satisfies the builtin error interface
func (EditProductReqValidationError) ErrorName ¶
func (e EditProductReqValidationError) ErrorName() string
ErrorName returns error name.
func (EditProductReqValidationError) Field ¶
func (e EditProductReqValidationError) Field() string
Field function returns field value.
func (EditProductReqValidationError) Key ¶
func (e EditProductReqValidationError) Key() bool
Key function returns key value.
func (EditProductReqValidationError) Reason ¶
func (e EditProductReqValidationError) Reason() string
Reason function returns reason value.
type EditProductTerminalReq ¶ added in v0.0.48
type EditProductTerminalReq struct { // 产品终端Id Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 产品Id ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // 区域Id RegionId uint64 `protobuf:"varint,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` // 终端Id TerminalId uint64 `protobuf:"varint,4,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"` // contains filtered or unexported fields }
func (*EditProductTerminalReq) Descriptor
deprecated
added in
v0.0.48
func (*EditProductTerminalReq) Descriptor() ([]byte, []int)
Deprecated: Use EditProductTerminalReq.ProtoReflect.Descriptor instead.
func (*EditProductTerminalReq) GetId ¶ added in v0.0.48
func (x *EditProductTerminalReq) GetId() uint64
func (*EditProductTerminalReq) GetProductId ¶ added in v0.0.48
func (x *EditProductTerminalReq) GetProductId() uint64
func (*EditProductTerminalReq) GetRegionId ¶ added in v0.0.48
func (x *EditProductTerminalReq) GetRegionId() uint64
func (*EditProductTerminalReq) GetTerminalId ¶ added in v0.0.48
func (x *EditProductTerminalReq) GetTerminalId() uint64
func (*EditProductTerminalReq) ProtoMessage ¶ added in v0.0.48
func (*EditProductTerminalReq) ProtoMessage()
func (*EditProductTerminalReq) ProtoReflect ¶ added in v0.0.48
func (x *EditProductTerminalReq) ProtoReflect() protoreflect.Message
func (*EditProductTerminalReq) Reset ¶ added in v0.0.48
func (x *EditProductTerminalReq) Reset()
func (*EditProductTerminalReq) String ¶ added in v0.0.48
func (x *EditProductTerminalReq) String() string
func (*EditProductTerminalReq) Validate ¶ added in v0.0.48
func (m *EditProductTerminalReq) Validate() error
Validate checks the field values on EditProductTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EditProductTerminalReq) ValidateAll ¶ added in v0.0.48
func (m *EditProductTerminalReq) ValidateAll() error
ValidateAll checks the field values on EditProductTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditProductTerminalReqMultiError, or nil if none found.
type EditProductTerminalReqMultiError ¶ added in v0.0.48
type EditProductTerminalReqMultiError []error
EditProductTerminalReqMultiError is an error wrapping multiple validation errors returned by EditProductTerminalReq.ValidateAll() if the designated constraints aren't met.
func (EditProductTerminalReqMultiError) AllErrors ¶ added in v0.0.48
func (m EditProductTerminalReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditProductTerminalReqMultiError) Error ¶ added in v0.0.48
func (m EditProductTerminalReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditProductTerminalReqValidationError ¶ added in v0.0.48
type EditProductTerminalReqValidationError struct {
// contains filtered or unexported fields
}
EditProductTerminalReqValidationError is the validation error returned by EditProductTerminalReq.Validate if the designated constraints aren't met.
func (EditProductTerminalReqValidationError) Cause ¶ added in v0.0.48
func (e EditProductTerminalReqValidationError) Cause() error
Cause function returns cause value.
func (EditProductTerminalReqValidationError) Error ¶ added in v0.0.48
func (e EditProductTerminalReqValidationError) Error() string
Error satisfies the builtin error interface
func (EditProductTerminalReqValidationError) ErrorName ¶ added in v0.0.48
func (e EditProductTerminalReqValidationError) ErrorName() string
ErrorName returns error name.
func (EditProductTerminalReqValidationError) Field ¶ added in v0.0.48
func (e EditProductTerminalReqValidationError) Field() string
Field function returns field value.
func (EditProductTerminalReqValidationError) Key ¶ added in v0.0.48
func (e EditProductTerminalReqValidationError) Key() bool
Key function returns key value.
func (EditProductTerminalReqValidationError) Reason ¶ added in v0.0.48
func (e EditProductTerminalReqValidationError) Reason() string
Reason function returns reason value.
type EditRegionReq ¶ added in v0.0.48
type EditRegionReq struct { Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 产品Id ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // 区域名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"` // 单价 Price uint64 `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"` // 阶梯价格 Step string `protobuf:"bytes,6,opt,name=step,proto3" json:"step,omitempty"` // 排序 Sort uint64 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*EditRegionReq) Descriptor
deprecated
added in
v0.0.48
func (*EditRegionReq) Descriptor() ([]byte, []int)
Deprecated: Use EditRegionReq.ProtoReflect.Descriptor instead.
func (*EditRegionReq) GetCountry ¶ added in v0.0.48
func (x *EditRegionReq) GetCountry() string
func (*EditRegionReq) GetId ¶ added in v0.0.48
func (x *EditRegionReq) GetId() uint64
func (*EditRegionReq) GetName ¶ added in v0.0.48
func (x *EditRegionReq) GetName() string
func (*EditRegionReq) GetPrice ¶ added in v0.0.48
func (x *EditRegionReq) GetPrice() uint64
func (*EditRegionReq) GetProductId ¶ added in v0.0.48
func (x *EditRegionReq) GetProductId() uint64
func (*EditRegionReq) GetSort ¶ added in v0.0.48
func (x *EditRegionReq) GetSort() uint64
func (*EditRegionReq) GetStep ¶ added in v0.0.48
func (x *EditRegionReq) GetStep() string
func (*EditRegionReq) ProtoMessage ¶ added in v0.0.48
func (*EditRegionReq) ProtoMessage()
func (*EditRegionReq) ProtoReflect ¶ added in v0.0.48
func (x *EditRegionReq) ProtoReflect() protoreflect.Message
func (*EditRegionReq) Reset ¶ added in v0.0.48
func (x *EditRegionReq) Reset()
func (*EditRegionReq) String ¶ added in v0.0.48
func (x *EditRegionReq) String() string
func (*EditRegionReq) Validate ¶ added in v0.0.48
func (m *EditRegionReq) Validate() error
Validate checks the field values on EditRegionReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EditRegionReq) ValidateAll ¶ added in v0.0.48
func (m *EditRegionReq) ValidateAll() error
ValidateAll checks the field values on EditRegionReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditRegionReqMultiError, or nil if none found.
type EditRegionReqMultiError ¶ added in v0.0.48
type EditRegionReqMultiError []error
EditRegionReqMultiError is an error wrapping multiple validation errors returned by EditRegionReq.ValidateAll() if the designated constraints aren't met.
func (EditRegionReqMultiError) AllErrors ¶ added in v0.0.48
func (m EditRegionReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditRegionReqMultiError) Error ¶ added in v0.0.48
func (m EditRegionReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditRegionReqValidationError ¶ added in v0.0.48
type EditRegionReqValidationError struct {
// contains filtered or unexported fields
}
EditRegionReqValidationError is the validation error returned by EditRegionReq.Validate if the designated constraints aren't met.
func (EditRegionReqValidationError) Cause ¶ added in v0.0.48
func (e EditRegionReqValidationError) Cause() error
Cause function returns cause value.
func (EditRegionReqValidationError) Error ¶ added in v0.0.48
func (e EditRegionReqValidationError) Error() string
Error satisfies the builtin error interface
func (EditRegionReqValidationError) ErrorName ¶ added in v0.0.48
func (e EditRegionReqValidationError) ErrorName() string
ErrorName returns error name.
func (EditRegionReqValidationError) Field ¶ added in v0.0.48
func (e EditRegionReqValidationError) Field() string
Field function returns field value.
func (EditRegionReqValidationError) Key ¶ added in v0.0.48
func (e EditRegionReqValidationError) Key() bool
Key function returns key value.
func (EditRegionReqValidationError) Reason ¶ added in v0.0.48
func (e EditRegionReqValidationError) Reason() string
Reason function returns reason value.
type EditTerminalReq ¶
type EditTerminalReq struct { // id Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 终端名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 关键字 Keywords string `protobuf:"bytes,3,opt,name=keywords,proto3" json:"keywords,omitempty"` // 简介 Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty"` // 图片 Img string `protobuf:"bytes,5,opt,name=img,proto3" json:"img,omitempty"` // 排序 Sort uint64 `protobuf:"varint,6,opt,name=sort,proto3" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*EditTerminalReq) Descriptor
deprecated
func (*EditTerminalReq) Descriptor() ([]byte, []int)
Deprecated: Use EditTerminalReq.ProtoReflect.Descriptor instead.
func (*EditTerminalReq) GetDescription ¶
func (x *EditTerminalReq) GetDescription() string
func (*EditTerminalReq) GetId ¶
func (x *EditTerminalReq) GetId() uint64
func (*EditTerminalReq) GetImg ¶
func (x *EditTerminalReq) GetImg() string
func (*EditTerminalReq) GetKeywords ¶
func (x *EditTerminalReq) GetKeywords() string
func (*EditTerminalReq) GetName ¶
func (x *EditTerminalReq) GetName() string
func (*EditTerminalReq) GetSort ¶
func (x *EditTerminalReq) GetSort() uint64
func (*EditTerminalReq) ProtoMessage ¶
func (*EditTerminalReq) ProtoMessage()
func (*EditTerminalReq) ProtoReflect ¶
func (x *EditTerminalReq) ProtoReflect() protoreflect.Message
func (*EditTerminalReq) Reset ¶
func (x *EditTerminalReq) Reset()
func (*EditTerminalReq) String ¶
func (x *EditTerminalReq) String() string
func (*EditTerminalReq) Validate ¶
func (m *EditTerminalReq) Validate() error
Validate checks the field values on EditTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*EditTerminalReq) ValidateAll ¶
func (m *EditTerminalReq) ValidateAll() error
ValidateAll checks the field values on EditTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in EditTerminalReqMultiError, or nil if none found.
type EditTerminalReqMultiError ¶
type EditTerminalReqMultiError []error
EditTerminalReqMultiError is an error wrapping multiple validation errors returned by EditTerminalReq.ValidateAll() if the designated constraints aren't met.
func (EditTerminalReqMultiError) AllErrors ¶
func (m EditTerminalReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (EditTerminalReqMultiError) Error ¶
func (m EditTerminalReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type EditTerminalReqValidationError ¶
type EditTerminalReqValidationError struct {
// contains filtered or unexported fields
}
EditTerminalReqValidationError is the validation error returned by EditTerminalReq.Validate if the designated constraints aren't met.
func (EditTerminalReqValidationError) Cause ¶
func (e EditTerminalReqValidationError) Cause() error
Cause function returns cause value.
func (EditTerminalReqValidationError) Error ¶
func (e EditTerminalReqValidationError) Error() string
Error satisfies the builtin error interface
func (EditTerminalReqValidationError) ErrorName ¶
func (e EditTerminalReqValidationError) ErrorName() string
ErrorName returns error name.
func (EditTerminalReqValidationError) Field ¶
func (e EditTerminalReqValidationError) Field() string
Field function returns field value.
func (EditTerminalReqValidationError) Key ¶
func (e EditTerminalReqValidationError) Key() bool
Key function returns key value.
func (EditTerminalReqValidationError) Reason ¶
func (e EditTerminalReqValidationError) Reason() string
Reason function returns reason value.
type Kind ¶
type Kind struct { // 主键 Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 产品类型名称 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // 创建时间 CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 最后编辑时间 UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 最后删除时间 DeletedAt string `protobuf:"bytes,8,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Kind) Descriptor
deprecated
func (*Kind) GetCreatedAt ¶ added in v0.0.60
func (*Kind) GetDeletedAt ¶ added in v0.0.60
func (*Kind) GetUpdatedAt ¶ added in v0.0.60
func (*Kind) ProtoMessage ¶
func (*Kind) ProtoMessage()
func (*Kind) ProtoReflect ¶
func (x *Kind) ProtoReflect() protoreflect.Message
func (*Kind) Validate ¶
Validate checks the field values on Kind with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Kind) ValidateAll ¶
ValidateAll checks the field values on Kind with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in KindMultiError, or nil if none found.
type KindMultiError ¶
type KindMultiError []error
KindMultiError is an error wrapping multiple validation errors returned by Kind.ValidateAll() if the designated constraints aren't met.
func (KindMultiError) AllErrors ¶
func (m KindMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (KindMultiError) Error ¶
func (m KindMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type KindValidationError ¶
type KindValidationError struct {
// contains filtered or unexported fields
}
KindValidationError is the validation error returned by Kind.Validate if the designated constraints aren't met.
func (KindValidationError) Cause ¶
func (e KindValidationError) Cause() error
Cause function returns cause value.
func (KindValidationError) Error ¶
func (e KindValidationError) Error() string
Error satisfies the builtin error interface
func (KindValidationError) ErrorName ¶
func (e KindValidationError) ErrorName() string
ErrorName returns error name.
func (KindValidationError) Field ¶
func (e KindValidationError) Field() string
Field function returns field value.
func (KindValidationError) Key ¶
func (e KindValidationError) Key() bool
Key function returns key value.
func (KindValidationError) Reason ¶
func (e KindValidationError) Reason() string
Reason function returns reason value.
type ListAttributeRep ¶ added in v0.0.64
type ListAttributeRep struct { List []*Attribute `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListAttributeRep) Descriptor
deprecated
added in
v0.0.64
func (*ListAttributeRep) Descriptor() ([]byte, []int)
Deprecated: Use ListAttributeRep.ProtoReflect.Descriptor instead.
func (*ListAttributeRep) GetList ¶ added in v0.0.64
func (x *ListAttributeRep) GetList() []*Attribute
func (*ListAttributeRep) ProtoMessage ¶ added in v0.0.64
func (*ListAttributeRep) ProtoMessage()
func (*ListAttributeRep) ProtoReflect ¶ added in v0.0.64
func (x *ListAttributeRep) ProtoReflect() protoreflect.Message
func (*ListAttributeRep) Reset ¶ added in v0.0.64
func (x *ListAttributeRep) Reset()
func (*ListAttributeRep) String ¶ added in v0.0.64
func (x *ListAttributeRep) String() string
func (*ListAttributeRep) Validate ¶ added in v0.0.64
func (m *ListAttributeRep) Validate() error
Validate checks the field values on ListAttributeRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListAttributeRep) ValidateAll ¶ added in v0.0.64
func (m *ListAttributeRep) ValidateAll() error
ValidateAll checks the field values on ListAttributeRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListAttributeRepMultiError, or nil if none found.
type ListAttributeRepMultiError ¶ added in v0.0.64
type ListAttributeRepMultiError []error
ListAttributeRepMultiError is an error wrapping multiple validation errors returned by ListAttributeRep.ValidateAll() if the designated constraints aren't met.
func (ListAttributeRepMultiError) AllErrors ¶ added in v0.0.64
func (m ListAttributeRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListAttributeRepMultiError) Error ¶ added in v0.0.64
func (m ListAttributeRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListAttributeRepValidationError ¶ added in v0.0.64
type ListAttributeRepValidationError struct {
// contains filtered or unexported fields
}
ListAttributeRepValidationError is the validation error returned by ListAttributeRep.Validate if the designated constraints aren't met.
func (ListAttributeRepValidationError) Cause ¶ added in v0.0.64
func (e ListAttributeRepValidationError) Cause() error
Cause function returns cause value.
func (ListAttributeRepValidationError) Error ¶ added in v0.0.64
func (e ListAttributeRepValidationError) Error() string
Error satisfies the builtin error interface
func (ListAttributeRepValidationError) ErrorName ¶ added in v0.0.64
func (e ListAttributeRepValidationError) ErrorName() string
ErrorName returns error name.
func (ListAttributeRepValidationError) Field ¶ added in v0.0.64
func (e ListAttributeRepValidationError) Field() string
Field function returns field value.
func (ListAttributeRepValidationError) Key ¶ added in v0.0.64
func (e ListAttributeRepValidationError) Key() bool
Key function returns key value.
func (ListAttributeRepValidationError) Reason ¶ added in v0.0.64
func (e ListAttributeRepValidationError) Reason() string
Reason function returns reason value.
type ListCategoryRep ¶ added in v0.0.48
type ListCategoryRep struct { // 列表 List []*CategoryInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListCategoryRep) Descriptor
deprecated
added in
v0.0.48
func (*ListCategoryRep) Descriptor() ([]byte, []int)
Deprecated: Use ListCategoryRep.ProtoReflect.Descriptor instead.
func (*ListCategoryRep) GetList ¶ added in v0.0.48
func (x *ListCategoryRep) GetList() []*CategoryInfo
func (*ListCategoryRep) ProtoMessage ¶ added in v0.0.48
func (*ListCategoryRep) ProtoMessage()
func (*ListCategoryRep) ProtoReflect ¶ added in v0.0.48
func (x *ListCategoryRep) ProtoReflect() protoreflect.Message
func (*ListCategoryRep) Reset ¶ added in v0.0.48
func (x *ListCategoryRep) Reset()
func (*ListCategoryRep) String ¶ added in v0.0.48
func (x *ListCategoryRep) String() string
func (*ListCategoryRep) Validate ¶ added in v0.0.48
func (m *ListCategoryRep) Validate() error
Validate checks the field values on ListCategoryRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListCategoryRep) ValidateAll ¶ added in v0.0.48
func (m *ListCategoryRep) ValidateAll() error
ValidateAll checks the field values on ListCategoryRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListCategoryRepMultiError, or nil if none found.
type ListCategoryRepMultiError ¶ added in v0.0.48
type ListCategoryRepMultiError []error
ListCategoryRepMultiError is an error wrapping multiple validation errors returned by ListCategoryRep.ValidateAll() if the designated constraints aren't met.
func (ListCategoryRepMultiError) AllErrors ¶ added in v0.0.48
func (m ListCategoryRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListCategoryRepMultiError) Error ¶ added in v0.0.48
func (m ListCategoryRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListCategoryRepValidationError ¶ added in v0.0.48
type ListCategoryRepValidationError struct {
// contains filtered or unexported fields
}
ListCategoryRepValidationError is the validation error returned by ListCategoryRep.Validate if the designated constraints aren't met.
func (ListCategoryRepValidationError) Cause ¶ added in v0.0.48
func (e ListCategoryRepValidationError) Cause() error
Cause function returns cause value.
func (ListCategoryRepValidationError) Error ¶ added in v0.0.48
func (e ListCategoryRepValidationError) Error() string
Error satisfies the builtin error interface
func (ListCategoryRepValidationError) ErrorName ¶ added in v0.0.48
func (e ListCategoryRepValidationError) ErrorName() string
ErrorName returns error name.
func (ListCategoryRepValidationError) Field ¶ added in v0.0.48
func (e ListCategoryRepValidationError) Field() string
Field function returns field value.
func (ListCategoryRepValidationError) Key ¶ added in v0.0.48
func (e ListCategoryRepValidationError) Key() bool
Key function returns key value.
func (ListCategoryRepValidationError) Reason ¶ added in v0.0.48
func (e ListCategoryRepValidationError) Reason() string
Reason function returns reason value.
type ListKindRep ¶
type ListKindRep struct { List []*Kind `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListKindRep) Descriptor
deprecated
func (*ListKindRep) Descriptor() ([]byte, []int)
Deprecated: Use ListKindRep.ProtoReflect.Descriptor instead.
func (*ListKindRep) GetList ¶
func (x *ListKindRep) GetList() []*Kind
func (*ListKindRep) ProtoMessage ¶
func (*ListKindRep) ProtoMessage()
func (*ListKindRep) ProtoReflect ¶
func (x *ListKindRep) ProtoReflect() protoreflect.Message
func (*ListKindRep) Reset ¶
func (x *ListKindRep) Reset()
func (*ListKindRep) String ¶
func (x *ListKindRep) String() string
func (*ListKindRep) Validate ¶
func (m *ListKindRep) Validate() error
Validate checks the field values on ListKindRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListKindRep) ValidateAll ¶
func (m *ListKindRep) ValidateAll() error
ValidateAll checks the field values on ListKindRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListKindRepMultiError, or nil if none found.
type ListKindRepMultiError ¶
type ListKindRepMultiError []error
ListKindRepMultiError is an error wrapping multiple validation errors returned by ListKindRep.ValidateAll() if the designated constraints aren't met.
func (ListKindRepMultiError) AllErrors ¶
func (m ListKindRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListKindRepMultiError) Error ¶
func (m ListKindRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListKindRepValidationError ¶
type ListKindRepValidationError struct {
// contains filtered or unexported fields
}
ListKindRepValidationError is the validation error returned by ListKindRep.Validate if the designated constraints aren't met.
func (ListKindRepValidationError) Cause ¶
func (e ListKindRepValidationError) Cause() error
Cause function returns cause value.
func (ListKindRepValidationError) Error ¶
func (e ListKindRepValidationError) Error() string
Error satisfies the builtin error interface
func (ListKindRepValidationError) ErrorName ¶
func (e ListKindRepValidationError) ErrorName() string
ErrorName returns error name.
func (ListKindRepValidationError) Field ¶
func (e ListKindRepValidationError) Field() string
Field function returns field value.
func (ListKindRepValidationError) Key ¶
func (e ListKindRepValidationError) Key() bool
Key function returns key value.
func (ListKindRepValidationError) Reason ¶
func (e ListKindRepValidationError) Reason() string
Reason function returns reason value.
type ListProductInfoRep ¶ added in v0.0.48
type ListProductInfoRep struct { // 列表 List []*ProductInfoInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListProductInfoRep) Descriptor
deprecated
added in
v0.0.48
func (*ListProductInfoRep) Descriptor() ([]byte, []int)
Deprecated: Use ListProductInfoRep.ProtoReflect.Descriptor instead.
func (*ListProductInfoRep) GetList ¶ added in v0.0.48
func (x *ListProductInfoRep) GetList() []*ProductInfoInfo
func (*ListProductInfoRep) ProtoMessage ¶ added in v0.0.48
func (*ListProductInfoRep) ProtoMessage()
func (*ListProductInfoRep) ProtoReflect ¶ added in v0.0.48
func (x *ListProductInfoRep) ProtoReflect() protoreflect.Message
func (*ListProductInfoRep) Reset ¶ added in v0.0.48
func (x *ListProductInfoRep) Reset()
func (*ListProductInfoRep) String ¶ added in v0.0.48
func (x *ListProductInfoRep) String() string
func (*ListProductInfoRep) Validate ¶ added in v0.0.48
func (m *ListProductInfoRep) Validate() error
Validate checks the field values on ListProductInfoRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListProductInfoRep) ValidateAll ¶ added in v0.0.48
func (m *ListProductInfoRep) ValidateAll() error
ValidateAll checks the field values on ListProductInfoRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListProductInfoRepMultiError, or nil if none found.
type ListProductInfoRepMultiError ¶ added in v0.0.48
type ListProductInfoRepMultiError []error
ListProductInfoRepMultiError is an error wrapping multiple validation errors returned by ListProductInfoRep.ValidateAll() if the designated constraints aren't met.
func (ListProductInfoRepMultiError) AllErrors ¶ added in v0.0.48
func (m ListProductInfoRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProductInfoRepMultiError) Error ¶ added in v0.0.48
func (m ListProductInfoRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProductInfoRepValidationError ¶ added in v0.0.48
type ListProductInfoRepValidationError struct {
// contains filtered or unexported fields
}
ListProductInfoRepValidationError is the validation error returned by ListProductInfoRep.Validate if the designated constraints aren't met.
func (ListProductInfoRepValidationError) Cause ¶ added in v0.0.48
func (e ListProductInfoRepValidationError) Cause() error
Cause function returns cause value.
func (ListProductInfoRepValidationError) Error ¶ added in v0.0.48
func (e ListProductInfoRepValidationError) Error() string
Error satisfies the builtin error interface
func (ListProductInfoRepValidationError) ErrorName ¶ added in v0.0.48
func (e ListProductInfoRepValidationError) ErrorName() string
ErrorName returns error name.
func (ListProductInfoRepValidationError) Field ¶ added in v0.0.48
func (e ListProductInfoRepValidationError) Field() string
Field function returns field value.
func (ListProductInfoRepValidationError) Key ¶ added in v0.0.48
func (e ListProductInfoRepValidationError) Key() bool
Key function returns key value.
func (ListProductInfoRepValidationError) Reason ¶ added in v0.0.48
func (e ListProductInfoRepValidationError) Reason() string
Reason function returns reason value.
type ListProductRep ¶
type ListProductRep struct { List []*ProductInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListProductRep) Descriptor
deprecated
func (*ListProductRep) Descriptor() ([]byte, []int)
Deprecated: Use ListProductRep.ProtoReflect.Descriptor instead.
func (*ListProductRep) GetList ¶
func (x *ListProductRep) GetList() []*ProductInfo
func (*ListProductRep) ProtoMessage ¶
func (*ListProductRep) ProtoMessage()
func (*ListProductRep) ProtoReflect ¶
func (x *ListProductRep) ProtoReflect() protoreflect.Message
func (*ListProductRep) Reset ¶
func (x *ListProductRep) Reset()
func (*ListProductRep) String ¶
func (x *ListProductRep) String() string
func (*ListProductRep) Validate ¶
func (m *ListProductRep) Validate() error
Validate checks the field values on ListProductRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListProductRep) ValidateAll ¶
func (m *ListProductRep) ValidateAll() error
ValidateAll checks the field values on ListProductRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListProductRepMultiError, or nil if none found.
type ListProductRepMultiError ¶
type ListProductRepMultiError []error
ListProductRepMultiError is an error wrapping multiple validation errors returned by ListProductRep.ValidateAll() if the designated constraints aren't met.
func (ListProductRepMultiError) AllErrors ¶
func (m ListProductRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProductRepMultiError) Error ¶
func (m ListProductRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProductRepValidationError ¶
type ListProductRepValidationError struct {
// contains filtered or unexported fields
}
ListProductRepValidationError is the validation error returned by ListProductRep.Validate if the designated constraints aren't met.
func (ListProductRepValidationError) Cause ¶
func (e ListProductRepValidationError) Cause() error
Cause function returns cause value.
func (ListProductRepValidationError) Error ¶
func (e ListProductRepValidationError) Error() string
Error satisfies the builtin error interface
func (ListProductRepValidationError) ErrorName ¶
func (e ListProductRepValidationError) ErrorName() string
ErrorName returns error name.
func (ListProductRepValidationError) Field ¶
func (e ListProductRepValidationError) Field() string
Field function returns field value.
func (ListProductRepValidationError) Key ¶
func (e ListProductRepValidationError) Key() bool
Key function returns key value.
func (ListProductRepValidationError) Reason ¶
func (e ListProductRepValidationError) Reason() string
Reason function returns reason value.
type ListProductTerminalInfoRep ¶ added in v0.0.48
type ListProductTerminalInfoRep struct { // 列表 List []*ProductTerminalInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListProductTerminalInfoRep) Descriptor
deprecated
added in
v0.0.48
func (*ListProductTerminalInfoRep) Descriptor() ([]byte, []int)
Deprecated: Use ListProductTerminalInfoRep.ProtoReflect.Descriptor instead.
func (*ListProductTerminalInfoRep) GetList ¶ added in v0.0.48
func (x *ListProductTerminalInfoRep) GetList() []*ProductTerminalInfo
func (*ListProductTerminalInfoRep) ProtoMessage ¶ added in v0.0.48
func (*ListProductTerminalInfoRep) ProtoMessage()
func (*ListProductTerminalInfoRep) ProtoReflect ¶ added in v0.0.48
func (x *ListProductTerminalInfoRep) ProtoReflect() protoreflect.Message
func (*ListProductTerminalInfoRep) Reset ¶ added in v0.0.48
func (x *ListProductTerminalInfoRep) Reset()
func (*ListProductTerminalInfoRep) String ¶ added in v0.0.48
func (x *ListProductTerminalInfoRep) String() string
func (*ListProductTerminalInfoRep) Validate ¶ added in v0.0.48
func (m *ListProductTerminalInfoRep) Validate() error
Validate checks the field values on ListProductTerminalInfoRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListProductTerminalInfoRep) ValidateAll ¶ added in v0.0.48
func (m *ListProductTerminalInfoRep) ValidateAll() error
ValidateAll checks the field values on ListProductTerminalInfoRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListProductTerminalInfoRepMultiError, or nil if none found.
type ListProductTerminalInfoRepMultiError ¶ added in v0.0.48
type ListProductTerminalInfoRepMultiError []error
ListProductTerminalInfoRepMultiError is an error wrapping multiple validation errors returned by ListProductTerminalInfoRep.ValidateAll() if the designated constraints aren't met.
func (ListProductTerminalInfoRepMultiError) AllErrors ¶ added in v0.0.48
func (m ListProductTerminalInfoRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListProductTerminalInfoRepMultiError) Error ¶ added in v0.0.48
func (m ListProductTerminalInfoRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListProductTerminalInfoRepValidationError ¶ added in v0.0.48
type ListProductTerminalInfoRepValidationError struct {
// contains filtered or unexported fields
}
ListProductTerminalInfoRepValidationError is the validation error returned by ListProductTerminalInfoRep.Validate if the designated constraints aren't met.
func (ListProductTerminalInfoRepValidationError) Cause ¶ added in v0.0.48
func (e ListProductTerminalInfoRepValidationError) Cause() error
Cause function returns cause value.
func (ListProductTerminalInfoRepValidationError) Error ¶ added in v0.0.48
func (e ListProductTerminalInfoRepValidationError) Error() string
Error satisfies the builtin error interface
func (ListProductTerminalInfoRepValidationError) ErrorName ¶ added in v0.0.48
func (e ListProductTerminalInfoRepValidationError) ErrorName() string
ErrorName returns error name.
func (ListProductTerminalInfoRepValidationError) Field ¶ added in v0.0.48
func (e ListProductTerminalInfoRepValidationError) Field() string
Field function returns field value.
func (ListProductTerminalInfoRepValidationError) Key ¶ added in v0.0.48
func (e ListProductTerminalInfoRepValidationError) Key() bool
Key function returns key value.
func (ListProductTerminalInfoRepValidationError) Reason ¶ added in v0.0.48
func (e ListProductTerminalInfoRepValidationError) Reason() string
Reason function returns reason value.
type ListRegionRep ¶ added in v0.0.48
type ListRegionRep struct { // 列表 List []*RegionInfo `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListRegionRep) Descriptor
deprecated
added in
v0.0.48
func (*ListRegionRep) Descriptor() ([]byte, []int)
Deprecated: Use ListRegionRep.ProtoReflect.Descriptor instead.
func (*ListRegionRep) GetList ¶ added in v0.0.48
func (x *ListRegionRep) GetList() []*RegionInfo
func (*ListRegionRep) ProtoMessage ¶ added in v0.0.48
func (*ListRegionRep) ProtoMessage()
func (*ListRegionRep) ProtoReflect ¶ added in v0.0.48
func (x *ListRegionRep) ProtoReflect() protoreflect.Message
func (*ListRegionRep) Reset ¶ added in v0.0.48
func (x *ListRegionRep) Reset()
func (*ListRegionRep) String ¶ added in v0.0.48
func (x *ListRegionRep) String() string
func (*ListRegionRep) Validate ¶ added in v0.0.48
func (m *ListRegionRep) Validate() error
Validate checks the field values on ListRegionRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListRegionRep) ValidateAll ¶ added in v0.0.48
func (m *ListRegionRep) ValidateAll() error
ValidateAll checks the field values on ListRegionRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListRegionRepMultiError, or nil if none found.
type ListRegionRepMultiError ¶ added in v0.0.48
type ListRegionRepMultiError []error
ListRegionRepMultiError is an error wrapping multiple validation errors returned by ListRegionRep.ValidateAll() if the designated constraints aren't met.
func (ListRegionRepMultiError) AllErrors ¶ added in v0.0.48
func (m ListRegionRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListRegionRepMultiError) Error ¶ added in v0.0.48
func (m ListRegionRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListRegionRepValidationError ¶ added in v0.0.48
type ListRegionRepValidationError struct {
// contains filtered or unexported fields
}
ListRegionRepValidationError is the validation error returned by ListRegionRep.Validate if the designated constraints aren't met.
func (ListRegionRepValidationError) Cause ¶ added in v0.0.48
func (e ListRegionRepValidationError) Cause() error
Cause function returns cause value.
func (ListRegionRepValidationError) Error ¶ added in v0.0.48
func (e ListRegionRepValidationError) Error() string
Error satisfies the builtin error interface
func (ListRegionRepValidationError) ErrorName ¶ added in v0.0.48
func (e ListRegionRepValidationError) ErrorName() string
ErrorName returns error name.
func (ListRegionRepValidationError) Field ¶ added in v0.0.48
func (e ListRegionRepValidationError) Field() string
Field function returns field value.
func (ListRegionRepValidationError) Key ¶ added in v0.0.48
func (e ListRegionRepValidationError) Key() bool
Key function returns key value.
func (ListRegionRepValidationError) Reason ¶ added in v0.0.48
func (e ListRegionRepValidationError) Reason() string
Reason function returns reason value.
type ListTerminalRep ¶
type ListTerminalRep struct { List []*Terminal `protobuf:"bytes,1,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*ListTerminalRep) Descriptor
deprecated
func (*ListTerminalRep) Descriptor() ([]byte, []int)
Deprecated: Use ListTerminalRep.ProtoReflect.Descriptor instead.
func (*ListTerminalRep) GetList ¶
func (x *ListTerminalRep) GetList() []*Terminal
func (*ListTerminalRep) ProtoMessage ¶
func (*ListTerminalRep) ProtoMessage()
func (*ListTerminalRep) ProtoReflect ¶
func (x *ListTerminalRep) ProtoReflect() protoreflect.Message
func (*ListTerminalRep) Reset ¶
func (x *ListTerminalRep) Reset()
func (*ListTerminalRep) String ¶
func (x *ListTerminalRep) String() string
func (*ListTerminalRep) Validate ¶
func (m *ListTerminalRep) Validate() error
Validate checks the field values on ListTerminalRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ListTerminalRep) ValidateAll ¶
func (m *ListTerminalRep) ValidateAll() error
ValidateAll checks the field values on ListTerminalRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ListTerminalRepMultiError, or nil if none found.
type ListTerminalRepMultiError ¶
type ListTerminalRepMultiError []error
ListTerminalRepMultiError is an error wrapping multiple validation errors returned by ListTerminalRep.ValidateAll() if the designated constraints aren't met.
func (ListTerminalRepMultiError) AllErrors ¶
func (m ListTerminalRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ListTerminalRepMultiError) Error ¶
func (m ListTerminalRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ListTerminalRepValidationError ¶
type ListTerminalRepValidationError struct {
// contains filtered or unexported fields
}
ListTerminalRepValidationError is the validation error returned by ListTerminalRep.Validate if the designated constraints aren't met.
func (ListTerminalRepValidationError) Cause ¶
func (e ListTerminalRepValidationError) Cause() error
Cause function returns cause value.
func (ListTerminalRepValidationError) Error ¶
func (e ListTerminalRepValidationError) Error() string
Error satisfies the builtin error interface
func (ListTerminalRepValidationError) ErrorName ¶
func (e ListTerminalRepValidationError) ErrorName() string
ErrorName returns error name.
func (ListTerminalRepValidationError) Field ¶
func (e ListTerminalRepValidationError) Field() string
Field function returns field value.
func (ListTerminalRepValidationError) Key ¶
func (e ListTerminalRepValidationError) Key() bool
Key function returns key value.
func (ListTerminalRepValidationError) Reason ¶
func (e ListTerminalRepValidationError) Reason() string
Reason function returns reason value.
type PageListAttributeRep ¶ added in v0.0.64
type PageListAttributeRep struct { // 总条数 Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 列表 List []*Attribute `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PageListAttributeRep) Descriptor
deprecated
added in
v0.0.64
func (*PageListAttributeRep) Descriptor() ([]byte, []int)
Deprecated: Use PageListAttributeRep.ProtoReflect.Descriptor instead.
func (*PageListAttributeRep) GetList ¶ added in v0.0.64
func (x *PageListAttributeRep) GetList() []*Attribute
func (*PageListAttributeRep) GetTotal ¶ added in v0.0.64
func (x *PageListAttributeRep) GetTotal() uint64
func (*PageListAttributeRep) ProtoMessage ¶ added in v0.0.64
func (*PageListAttributeRep) ProtoMessage()
func (*PageListAttributeRep) ProtoReflect ¶ added in v0.0.64
func (x *PageListAttributeRep) ProtoReflect() protoreflect.Message
func (*PageListAttributeRep) Reset ¶ added in v0.0.64
func (x *PageListAttributeRep) Reset()
func (*PageListAttributeRep) String ¶ added in v0.0.64
func (x *PageListAttributeRep) String() string
func (*PageListAttributeRep) Validate ¶ added in v0.0.64
func (m *PageListAttributeRep) Validate() error
Validate checks the field values on PageListAttributeRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListAttributeRep) ValidateAll ¶ added in v0.0.64
func (m *PageListAttributeRep) ValidateAll() error
ValidateAll checks the field values on PageListAttributeRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListAttributeRepMultiError, or nil if none found.
type PageListAttributeRepMultiError ¶ added in v0.0.64
type PageListAttributeRepMultiError []error
PageListAttributeRepMultiError is an error wrapping multiple validation errors returned by PageListAttributeRep.ValidateAll() if the designated constraints aren't met.
func (PageListAttributeRepMultiError) AllErrors ¶ added in v0.0.64
func (m PageListAttributeRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListAttributeRepMultiError) Error ¶ added in v0.0.64
func (m PageListAttributeRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListAttributeRepValidationError ¶ added in v0.0.64
type PageListAttributeRepValidationError struct {
// contains filtered or unexported fields
}
PageListAttributeRepValidationError is the validation error returned by PageListAttributeRep.Validate if the designated constraints aren't met.
func (PageListAttributeRepValidationError) Cause ¶ added in v0.0.64
func (e PageListAttributeRepValidationError) Cause() error
Cause function returns cause value.
func (PageListAttributeRepValidationError) Error ¶ added in v0.0.64
func (e PageListAttributeRepValidationError) Error() string
Error satisfies the builtin error interface
func (PageListAttributeRepValidationError) ErrorName ¶ added in v0.0.64
func (e PageListAttributeRepValidationError) ErrorName() string
ErrorName returns error name.
func (PageListAttributeRepValidationError) Field ¶ added in v0.0.64
func (e PageListAttributeRepValidationError) Field() string
Field function returns field value.
func (PageListAttributeRepValidationError) Key ¶ added in v0.0.64
func (e PageListAttributeRepValidationError) Key() bool
Key function returns key value.
func (PageListAttributeRepValidationError) Reason ¶ added in v0.0.64
func (e PageListAttributeRepValidationError) Reason() string
Reason function returns reason value.
type PageListAttributeReq ¶ added in v0.0.64
type PageListAttributeReq struct { // 页数 Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 每页数量 PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 类型名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 产品详情Id ProductInfoId uint64 `protobuf:"varint,4,opt,name=product_info_id,json=productInfoId,proto3" json:"product_info_id,omitempty"` // contains filtered or unexported fields }
func (*PageListAttributeReq) Descriptor
deprecated
added in
v0.0.64
func (*PageListAttributeReq) Descriptor() ([]byte, []int)
Deprecated: Use PageListAttributeReq.ProtoReflect.Descriptor instead.
func (*PageListAttributeReq) GetName ¶ added in v0.0.64
func (x *PageListAttributeReq) GetName() string
func (*PageListAttributeReq) GetPage ¶ added in v0.0.64
func (x *PageListAttributeReq) GetPage() uint64
func (*PageListAttributeReq) GetPageSize ¶ added in v0.0.64
func (x *PageListAttributeReq) GetPageSize() uint64
func (*PageListAttributeReq) GetProductInfoId ¶ added in v0.0.66
func (x *PageListAttributeReq) GetProductInfoId() uint64
func (*PageListAttributeReq) ProtoMessage ¶ added in v0.0.64
func (*PageListAttributeReq) ProtoMessage()
func (*PageListAttributeReq) ProtoReflect ¶ added in v0.0.64
func (x *PageListAttributeReq) ProtoReflect() protoreflect.Message
func (*PageListAttributeReq) Reset ¶ added in v0.0.64
func (x *PageListAttributeReq) Reset()
func (*PageListAttributeReq) String ¶ added in v0.0.64
func (x *PageListAttributeReq) String() string
func (*PageListAttributeReq) Validate ¶ added in v0.0.64
func (m *PageListAttributeReq) Validate() error
Validate checks the field values on PageListAttributeReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListAttributeReq) ValidateAll ¶ added in v0.0.64
func (m *PageListAttributeReq) ValidateAll() error
ValidateAll checks the field values on PageListAttributeReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListAttributeReqMultiError, or nil if none found.
type PageListAttributeReqMultiError ¶ added in v0.0.64
type PageListAttributeReqMultiError []error
PageListAttributeReqMultiError is an error wrapping multiple validation errors returned by PageListAttributeReq.ValidateAll() if the designated constraints aren't met.
func (PageListAttributeReqMultiError) AllErrors ¶ added in v0.0.64
func (m PageListAttributeReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListAttributeReqMultiError) Error ¶ added in v0.0.64
func (m PageListAttributeReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListAttributeReqValidationError ¶ added in v0.0.64
type PageListAttributeReqValidationError struct {
// contains filtered or unexported fields
}
PageListAttributeReqValidationError is the validation error returned by PageListAttributeReq.Validate if the designated constraints aren't met.
func (PageListAttributeReqValidationError) Cause ¶ added in v0.0.64
func (e PageListAttributeReqValidationError) Cause() error
Cause function returns cause value.
func (PageListAttributeReqValidationError) Error ¶ added in v0.0.64
func (e PageListAttributeReqValidationError) Error() string
Error satisfies the builtin error interface
func (PageListAttributeReqValidationError) ErrorName ¶ added in v0.0.64
func (e PageListAttributeReqValidationError) ErrorName() string
ErrorName returns error name.
func (PageListAttributeReqValidationError) Field ¶ added in v0.0.64
func (e PageListAttributeReqValidationError) Field() string
Field function returns field value.
func (PageListAttributeReqValidationError) Key ¶ added in v0.0.64
func (e PageListAttributeReqValidationError) Key() bool
Key function returns key value.
func (PageListAttributeReqValidationError) Reason ¶ added in v0.0.64
func (e PageListAttributeReqValidationError) Reason() string
Reason function returns reason value.
type PageListCategoryRep ¶ added in v0.0.48
type PageListCategoryRep struct { // 总条数 Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 列表 List []*CategoryInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PageListCategoryRep) Descriptor
deprecated
added in
v0.0.48
func (*PageListCategoryRep) Descriptor() ([]byte, []int)
Deprecated: Use PageListCategoryRep.ProtoReflect.Descriptor instead.
func (*PageListCategoryRep) GetList ¶ added in v0.0.48
func (x *PageListCategoryRep) GetList() []*CategoryInfo
func (*PageListCategoryRep) GetTotal ¶ added in v0.0.48
func (x *PageListCategoryRep) GetTotal() uint64
func (*PageListCategoryRep) ProtoMessage ¶ added in v0.0.48
func (*PageListCategoryRep) ProtoMessage()
func (*PageListCategoryRep) ProtoReflect ¶ added in v0.0.48
func (x *PageListCategoryRep) ProtoReflect() protoreflect.Message
func (*PageListCategoryRep) Reset ¶ added in v0.0.48
func (x *PageListCategoryRep) Reset()
func (*PageListCategoryRep) String ¶ added in v0.0.48
func (x *PageListCategoryRep) String() string
func (*PageListCategoryRep) Validate ¶ added in v0.0.48
func (m *PageListCategoryRep) Validate() error
Validate checks the field values on PageListCategoryRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListCategoryRep) ValidateAll ¶ added in v0.0.48
func (m *PageListCategoryRep) ValidateAll() error
ValidateAll checks the field values on PageListCategoryRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListCategoryRepMultiError, or nil if none found.
type PageListCategoryRepMultiError ¶ added in v0.0.48
type PageListCategoryRepMultiError []error
PageListCategoryRepMultiError is an error wrapping multiple validation errors returned by PageListCategoryRep.ValidateAll() if the designated constraints aren't met.
func (PageListCategoryRepMultiError) AllErrors ¶ added in v0.0.48
func (m PageListCategoryRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListCategoryRepMultiError) Error ¶ added in v0.0.48
func (m PageListCategoryRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListCategoryRepValidationError ¶ added in v0.0.48
type PageListCategoryRepValidationError struct {
// contains filtered or unexported fields
}
PageListCategoryRepValidationError is the validation error returned by PageListCategoryRep.Validate if the designated constraints aren't met.
func (PageListCategoryRepValidationError) Cause ¶ added in v0.0.48
func (e PageListCategoryRepValidationError) Cause() error
Cause function returns cause value.
func (PageListCategoryRepValidationError) Error ¶ added in v0.0.48
func (e PageListCategoryRepValidationError) Error() string
Error satisfies the builtin error interface
func (PageListCategoryRepValidationError) ErrorName ¶ added in v0.0.48
func (e PageListCategoryRepValidationError) ErrorName() string
ErrorName returns error name.
func (PageListCategoryRepValidationError) Field ¶ added in v0.0.48
func (e PageListCategoryRepValidationError) Field() string
Field function returns field value.
func (PageListCategoryRepValidationError) Key ¶ added in v0.0.48
func (e PageListCategoryRepValidationError) Key() bool
Key function returns key value.
func (PageListCategoryRepValidationError) Reason ¶ added in v0.0.48
func (e PageListCategoryRepValidationError) Reason() string
Reason function returns reason value.
type PageListCategoryReq ¶ added in v0.0.48
type PageListCategoryReq struct { // 页数 Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 每页数量 PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 分类名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PageListCategoryReq) Descriptor
deprecated
added in
v0.0.48
func (*PageListCategoryReq) Descriptor() ([]byte, []int)
Deprecated: Use PageListCategoryReq.ProtoReflect.Descriptor instead.
func (*PageListCategoryReq) GetName ¶ added in v0.0.48
func (x *PageListCategoryReq) GetName() string
func (*PageListCategoryReq) GetPage ¶ added in v0.0.48
func (x *PageListCategoryReq) GetPage() uint64
func (*PageListCategoryReq) GetPageSize ¶ added in v0.0.48
func (x *PageListCategoryReq) GetPageSize() uint64
func (*PageListCategoryReq) ProtoMessage ¶ added in v0.0.48
func (*PageListCategoryReq) ProtoMessage()
func (*PageListCategoryReq) ProtoReflect ¶ added in v0.0.48
func (x *PageListCategoryReq) ProtoReflect() protoreflect.Message
func (*PageListCategoryReq) Reset ¶ added in v0.0.48
func (x *PageListCategoryReq) Reset()
func (*PageListCategoryReq) String ¶ added in v0.0.48
func (x *PageListCategoryReq) String() string
func (*PageListCategoryReq) Validate ¶ added in v0.0.48
func (m *PageListCategoryReq) Validate() error
Validate checks the field values on PageListCategoryReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListCategoryReq) ValidateAll ¶ added in v0.0.48
func (m *PageListCategoryReq) ValidateAll() error
ValidateAll checks the field values on PageListCategoryReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListCategoryReqMultiError, or nil if none found.
type PageListCategoryReqMultiError ¶ added in v0.0.48
type PageListCategoryReqMultiError []error
PageListCategoryReqMultiError is an error wrapping multiple validation errors returned by PageListCategoryReq.ValidateAll() if the designated constraints aren't met.
func (PageListCategoryReqMultiError) AllErrors ¶ added in v0.0.48
func (m PageListCategoryReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListCategoryReqMultiError) Error ¶ added in v0.0.48
func (m PageListCategoryReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListCategoryReqValidationError ¶ added in v0.0.48
type PageListCategoryReqValidationError struct {
// contains filtered or unexported fields
}
PageListCategoryReqValidationError is the validation error returned by PageListCategoryReq.Validate if the designated constraints aren't met.
func (PageListCategoryReqValidationError) Cause ¶ added in v0.0.48
func (e PageListCategoryReqValidationError) Cause() error
Cause function returns cause value.
func (PageListCategoryReqValidationError) Error ¶ added in v0.0.48
func (e PageListCategoryReqValidationError) Error() string
Error satisfies the builtin error interface
func (PageListCategoryReqValidationError) ErrorName ¶ added in v0.0.48
func (e PageListCategoryReqValidationError) ErrorName() string
ErrorName returns error name.
func (PageListCategoryReqValidationError) Field ¶ added in v0.0.48
func (e PageListCategoryReqValidationError) Field() string
Field function returns field value.
func (PageListCategoryReqValidationError) Key ¶ added in v0.0.48
func (e PageListCategoryReqValidationError) Key() bool
Key function returns key value.
func (PageListCategoryReqValidationError) Reason ¶ added in v0.0.48
func (e PageListCategoryReqValidationError) Reason() string
Reason function returns reason value.
type PageListKindRep ¶
type PageListKindRep struct { // 总条数 Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 列表 List []*Kind `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PageListKindRep) Descriptor
deprecated
func (*PageListKindRep) Descriptor() ([]byte, []int)
Deprecated: Use PageListKindRep.ProtoReflect.Descriptor instead.
func (*PageListKindRep) GetList ¶
func (x *PageListKindRep) GetList() []*Kind
func (*PageListKindRep) GetTotal ¶
func (x *PageListKindRep) GetTotal() uint64
func (*PageListKindRep) ProtoMessage ¶
func (*PageListKindRep) ProtoMessage()
func (*PageListKindRep) ProtoReflect ¶
func (x *PageListKindRep) ProtoReflect() protoreflect.Message
func (*PageListKindRep) Reset ¶
func (x *PageListKindRep) Reset()
func (*PageListKindRep) String ¶
func (x *PageListKindRep) String() string
func (*PageListKindRep) Validate ¶
func (m *PageListKindRep) Validate() error
Validate checks the field values on PageListKindRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListKindRep) ValidateAll ¶
func (m *PageListKindRep) ValidateAll() error
ValidateAll checks the field values on PageListKindRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListKindRepMultiError, or nil if none found.
type PageListKindRepMultiError ¶
type PageListKindRepMultiError []error
PageListKindRepMultiError is an error wrapping multiple validation errors returned by PageListKindRep.ValidateAll() if the designated constraints aren't met.
func (PageListKindRepMultiError) AllErrors ¶
func (m PageListKindRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListKindRepMultiError) Error ¶
func (m PageListKindRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListKindRepValidationError ¶
type PageListKindRepValidationError struct {
// contains filtered or unexported fields
}
PageListKindRepValidationError is the validation error returned by PageListKindRep.Validate if the designated constraints aren't met.
func (PageListKindRepValidationError) Cause ¶
func (e PageListKindRepValidationError) Cause() error
Cause function returns cause value.
func (PageListKindRepValidationError) Error ¶
func (e PageListKindRepValidationError) Error() string
Error satisfies the builtin error interface
func (PageListKindRepValidationError) ErrorName ¶
func (e PageListKindRepValidationError) ErrorName() string
ErrorName returns error name.
func (PageListKindRepValidationError) Field ¶
func (e PageListKindRepValidationError) Field() string
Field function returns field value.
func (PageListKindRepValidationError) Key ¶
func (e PageListKindRepValidationError) Key() bool
Key function returns key value.
func (PageListKindRepValidationError) Reason ¶
func (e PageListKindRepValidationError) Reason() string
Reason function returns reason value.
type PageListKindReq ¶
type PageListKindReq struct { // 页数 Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 每页数量 PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 类型名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PageListKindReq) Descriptor
deprecated
func (*PageListKindReq) Descriptor() ([]byte, []int)
Deprecated: Use PageListKindReq.ProtoReflect.Descriptor instead.
func (*PageListKindReq) GetName ¶
func (x *PageListKindReq) GetName() string
func (*PageListKindReq) GetPage ¶
func (x *PageListKindReq) GetPage() uint64
func (*PageListKindReq) GetPageSize ¶
func (x *PageListKindReq) GetPageSize() uint64
func (*PageListKindReq) ProtoMessage ¶
func (*PageListKindReq) ProtoMessage()
func (*PageListKindReq) ProtoReflect ¶
func (x *PageListKindReq) ProtoReflect() protoreflect.Message
func (*PageListKindReq) Reset ¶
func (x *PageListKindReq) Reset()
func (*PageListKindReq) String ¶
func (x *PageListKindReq) String() string
func (*PageListKindReq) Validate ¶
func (m *PageListKindReq) Validate() error
Validate checks the field values on PageListKindReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListKindReq) ValidateAll ¶
func (m *PageListKindReq) ValidateAll() error
ValidateAll checks the field values on PageListKindReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListKindReqMultiError, or nil if none found.
type PageListKindReqMultiError ¶
type PageListKindReqMultiError []error
PageListKindReqMultiError is an error wrapping multiple validation errors returned by PageListKindReq.ValidateAll() if the designated constraints aren't met.
func (PageListKindReqMultiError) AllErrors ¶
func (m PageListKindReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListKindReqMultiError) Error ¶
func (m PageListKindReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListKindReqValidationError ¶
type PageListKindReqValidationError struct {
// contains filtered or unexported fields
}
PageListKindReqValidationError is the validation error returned by PageListKindReq.Validate if the designated constraints aren't met.
func (PageListKindReqValidationError) Cause ¶
func (e PageListKindReqValidationError) Cause() error
Cause function returns cause value.
func (PageListKindReqValidationError) Error ¶
func (e PageListKindReqValidationError) Error() string
Error satisfies the builtin error interface
func (PageListKindReqValidationError) ErrorName ¶
func (e PageListKindReqValidationError) ErrorName() string
ErrorName returns error name.
func (PageListKindReqValidationError) Field ¶
func (e PageListKindReqValidationError) Field() string
Field function returns field value.
func (PageListKindReqValidationError) Key ¶
func (e PageListKindReqValidationError) Key() bool
Key function returns key value.
func (PageListKindReqValidationError) Reason ¶
func (e PageListKindReqValidationError) Reason() string
Reason function returns reason value.
type PageListProductInfoRep ¶ added in v0.0.48
type PageListProductInfoRep struct { // 总条数 Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 列表 List []*ProductInfoInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PageListProductInfoRep) Descriptor
deprecated
added in
v0.0.48
func (*PageListProductInfoRep) Descriptor() ([]byte, []int)
Deprecated: Use PageListProductInfoRep.ProtoReflect.Descriptor instead.
func (*PageListProductInfoRep) GetList ¶ added in v0.0.48
func (x *PageListProductInfoRep) GetList() []*ProductInfoInfo
func (*PageListProductInfoRep) GetTotal ¶ added in v0.0.48
func (x *PageListProductInfoRep) GetTotal() uint64
func (*PageListProductInfoRep) ProtoMessage ¶ added in v0.0.48
func (*PageListProductInfoRep) ProtoMessage()
func (*PageListProductInfoRep) ProtoReflect ¶ added in v0.0.48
func (x *PageListProductInfoRep) ProtoReflect() protoreflect.Message
func (*PageListProductInfoRep) Reset ¶ added in v0.0.48
func (x *PageListProductInfoRep) Reset()
func (*PageListProductInfoRep) String ¶ added in v0.0.48
func (x *PageListProductInfoRep) String() string
func (*PageListProductInfoRep) Validate ¶ added in v0.0.48
func (m *PageListProductInfoRep) Validate() error
Validate checks the field values on PageListProductInfoRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListProductInfoRep) ValidateAll ¶ added in v0.0.48
func (m *PageListProductInfoRep) ValidateAll() error
ValidateAll checks the field values on PageListProductInfoRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListProductInfoRepMultiError, or nil if none found.
type PageListProductInfoRepMultiError ¶ added in v0.0.48
type PageListProductInfoRepMultiError []error
PageListProductInfoRepMultiError is an error wrapping multiple validation errors returned by PageListProductInfoRep.ValidateAll() if the designated constraints aren't met.
func (PageListProductInfoRepMultiError) AllErrors ¶ added in v0.0.48
func (m PageListProductInfoRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListProductInfoRepMultiError) Error ¶ added in v0.0.48
func (m PageListProductInfoRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListProductInfoRepValidationError ¶ added in v0.0.48
type PageListProductInfoRepValidationError struct {
// contains filtered or unexported fields
}
PageListProductInfoRepValidationError is the validation error returned by PageListProductInfoRep.Validate if the designated constraints aren't met.
func (PageListProductInfoRepValidationError) Cause ¶ added in v0.0.48
func (e PageListProductInfoRepValidationError) Cause() error
Cause function returns cause value.
func (PageListProductInfoRepValidationError) Error ¶ added in v0.0.48
func (e PageListProductInfoRepValidationError) Error() string
Error satisfies the builtin error interface
func (PageListProductInfoRepValidationError) ErrorName ¶ added in v0.0.48
func (e PageListProductInfoRepValidationError) ErrorName() string
ErrorName returns error name.
func (PageListProductInfoRepValidationError) Field ¶ added in v0.0.48
func (e PageListProductInfoRepValidationError) Field() string
Field function returns field value.
func (PageListProductInfoRepValidationError) Key ¶ added in v0.0.48
func (e PageListProductInfoRepValidationError) Key() bool
Key function returns key value.
func (PageListProductInfoRepValidationError) Reason ¶ added in v0.0.48
func (e PageListProductInfoRepValidationError) Reason() string
Reason function returns reason value.
type PageListProductInfoReq ¶ added in v0.0.48
type PageListProductInfoReq struct { // 页数 Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 每页数量 PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*PageListProductInfoReq) Descriptor
deprecated
added in
v0.0.48
func (*PageListProductInfoReq) Descriptor() ([]byte, []int)
Deprecated: Use PageListProductInfoReq.ProtoReflect.Descriptor instead.
func (*PageListProductInfoReq) GetPage ¶ added in v0.0.48
func (x *PageListProductInfoReq) GetPage() uint64
func (*PageListProductInfoReq) GetPageSize ¶ added in v0.0.48
func (x *PageListProductInfoReq) GetPageSize() uint64
func (*PageListProductInfoReq) ProtoMessage ¶ added in v0.0.48
func (*PageListProductInfoReq) ProtoMessage()
func (*PageListProductInfoReq) ProtoReflect ¶ added in v0.0.48
func (x *PageListProductInfoReq) ProtoReflect() protoreflect.Message
func (*PageListProductInfoReq) Reset ¶ added in v0.0.48
func (x *PageListProductInfoReq) Reset()
func (*PageListProductInfoReq) String ¶ added in v0.0.48
func (x *PageListProductInfoReq) String() string
func (*PageListProductInfoReq) Validate ¶ added in v0.0.48
func (m *PageListProductInfoReq) Validate() error
Validate checks the field values on PageListProductInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListProductInfoReq) ValidateAll ¶ added in v0.0.48
func (m *PageListProductInfoReq) ValidateAll() error
ValidateAll checks the field values on PageListProductInfoReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListProductInfoReqMultiError, or nil if none found.
type PageListProductInfoReqMultiError ¶ added in v0.0.48
type PageListProductInfoReqMultiError []error
PageListProductInfoReqMultiError is an error wrapping multiple validation errors returned by PageListProductInfoReq.ValidateAll() if the designated constraints aren't met.
func (PageListProductInfoReqMultiError) AllErrors ¶ added in v0.0.48
func (m PageListProductInfoReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListProductInfoReqMultiError) Error ¶ added in v0.0.48
func (m PageListProductInfoReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListProductInfoReqValidationError ¶ added in v0.0.48
type PageListProductInfoReqValidationError struct {
// contains filtered or unexported fields
}
PageListProductInfoReqValidationError is the validation error returned by PageListProductInfoReq.Validate if the designated constraints aren't met.
func (PageListProductInfoReqValidationError) Cause ¶ added in v0.0.48
func (e PageListProductInfoReqValidationError) Cause() error
Cause function returns cause value.
func (PageListProductInfoReqValidationError) Error ¶ added in v0.0.48
func (e PageListProductInfoReqValidationError) Error() string
Error satisfies the builtin error interface
func (PageListProductInfoReqValidationError) ErrorName ¶ added in v0.0.48
func (e PageListProductInfoReqValidationError) ErrorName() string
ErrorName returns error name.
func (PageListProductInfoReqValidationError) Field ¶ added in v0.0.48
func (e PageListProductInfoReqValidationError) Field() string
Field function returns field value.
func (PageListProductInfoReqValidationError) Key ¶ added in v0.0.48
func (e PageListProductInfoReqValidationError) Key() bool
Key function returns key value.
func (PageListProductInfoReqValidationError) Reason ¶ added in v0.0.48
func (e PageListProductInfoReqValidationError) Reason() string
Reason function returns reason value.
type PageListProductRep ¶ added in v0.0.48
type PageListProductRep struct { // 总条数 Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 列表 List []*ProductInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PageListProductRep) Descriptor
deprecated
added in
v0.0.48
func (*PageListProductRep) Descriptor() ([]byte, []int)
Deprecated: Use PageListProductRep.ProtoReflect.Descriptor instead.
func (*PageListProductRep) GetList ¶ added in v0.0.48
func (x *PageListProductRep) GetList() []*ProductInfo
func (*PageListProductRep) GetTotal ¶ added in v0.0.48
func (x *PageListProductRep) GetTotal() uint64
func (*PageListProductRep) ProtoMessage ¶ added in v0.0.48
func (*PageListProductRep) ProtoMessage()
func (*PageListProductRep) ProtoReflect ¶ added in v0.0.48
func (x *PageListProductRep) ProtoReflect() protoreflect.Message
func (*PageListProductRep) Reset ¶ added in v0.0.48
func (x *PageListProductRep) Reset()
func (*PageListProductRep) String ¶ added in v0.0.48
func (x *PageListProductRep) String() string
func (*PageListProductRep) Validate ¶ added in v0.0.48
func (m *PageListProductRep) Validate() error
Validate checks the field values on PageListProductRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListProductRep) ValidateAll ¶ added in v0.0.48
func (m *PageListProductRep) ValidateAll() error
ValidateAll checks the field values on PageListProductRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListProductRepMultiError, or nil if none found.
type PageListProductRepMultiError ¶ added in v0.0.48
type PageListProductRepMultiError []error
PageListProductRepMultiError is an error wrapping multiple validation errors returned by PageListProductRep.ValidateAll() if the designated constraints aren't met.
func (PageListProductRepMultiError) AllErrors ¶ added in v0.0.48
func (m PageListProductRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListProductRepMultiError) Error ¶ added in v0.0.48
func (m PageListProductRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListProductRepValidationError ¶ added in v0.0.48
type PageListProductRepValidationError struct {
// contains filtered or unexported fields
}
PageListProductRepValidationError is the validation error returned by PageListProductRep.Validate if the designated constraints aren't met.
func (PageListProductRepValidationError) Cause ¶ added in v0.0.48
func (e PageListProductRepValidationError) Cause() error
Cause function returns cause value.
func (PageListProductRepValidationError) Error ¶ added in v0.0.48
func (e PageListProductRepValidationError) Error() string
Error satisfies the builtin error interface
func (PageListProductRepValidationError) ErrorName ¶ added in v0.0.48
func (e PageListProductRepValidationError) ErrorName() string
ErrorName returns error name.
func (PageListProductRepValidationError) Field ¶ added in v0.0.48
func (e PageListProductRepValidationError) Field() string
Field function returns field value.
func (PageListProductRepValidationError) Key ¶ added in v0.0.48
func (e PageListProductRepValidationError) Key() bool
Key function returns key value.
func (PageListProductRepValidationError) Reason ¶ added in v0.0.48
func (e PageListProductRepValidationError) Reason() string
Reason function returns reason value.
type PageListProductReq ¶ added in v0.0.48
type PageListProductReq struct { // 页数 Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 每页数量 PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 产品名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PageListProductReq) Descriptor
deprecated
added in
v0.0.48
func (*PageListProductReq) Descriptor() ([]byte, []int)
Deprecated: Use PageListProductReq.ProtoReflect.Descriptor instead.
func (*PageListProductReq) GetName ¶ added in v0.0.48
func (x *PageListProductReq) GetName() string
func (*PageListProductReq) GetPage ¶ added in v0.0.48
func (x *PageListProductReq) GetPage() uint64
func (*PageListProductReq) GetPageSize ¶ added in v0.0.48
func (x *PageListProductReq) GetPageSize() uint64
func (*PageListProductReq) ProtoMessage ¶ added in v0.0.48
func (*PageListProductReq) ProtoMessage()
func (*PageListProductReq) ProtoReflect ¶ added in v0.0.48
func (x *PageListProductReq) ProtoReflect() protoreflect.Message
func (*PageListProductReq) Reset ¶ added in v0.0.48
func (x *PageListProductReq) Reset()
func (*PageListProductReq) String ¶ added in v0.0.48
func (x *PageListProductReq) String() string
func (*PageListProductReq) Validate ¶ added in v0.0.48
func (m *PageListProductReq) Validate() error
Validate checks the field values on PageListProductReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListProductReq) ValidateAll ¶ added in v0.0.48
func (m *PageListProductReq) ValidateAll() error
ValidateAll checks the field values on PageListProductReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListProductReqMultiError, or nil if none found.
type PageListProductReqMultiError ¶ added in v0.0.48
type PageListProductReqMultiError []error
PageListProductReqMultiError is an error wrapping multiple validation errors returned by PageListProductReq.ValidateAll() if the designated constraints aren't met.
func (PageListProductReqMultiError) AllErrors ¶ added in v0.0.48
func (m PageListProductReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListProductReqMultiError) Error ¶ added in v0.0.48
func (m PageListProductReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListProductReqValidationError ¶ added in v0.0.48
type PageListProductReqValidationError struct {
// contains filtered or unexported fields
}
PageListProductReqValidationError is the validation error returned by PageListProductReq.Validate if the designated constraints aren't met.
func (PageListProductReqValidationError) Cause ¶ added in v0.0.48
func (e PageListProductReqValidationError) Cause() error
Cause function returns cause value.
func (PageListProductReqValidationError) Error ¶ added in v0.0.48
func (e PageListProductReqValidationError) Error() string
Error satisfies the builtin error interface
func (PageListProductReqValidationError) ErrorName ¶ added in v0.0.48
func (e PageListProductReqValidationError) ErrorName() string
ErrorName returns error name.
func (PageListProductReqValidationError) Field ¶ added in v0.0.48
func (e PageListProductReqValidationError) Field() string
Field function returns field value.
func (PageListProductReqValidationError) Key ¶ added in v0.0.48
func (e PageListProductReqValidationError) Key() bool
Key function returns key value.
func (PageListProductReqValidationError) Reason ¶ added in v0.0.48
func (e PageListProductReqValidationError) Reason() string
Reason function returns reason value.
type PageListProductTerminalRep ¶ added in v0.0.48
type PageListProductTerminalRep struct { // 总条数 Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 列表 List []*ProductTerminalInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PageListProductTerminalRep) Descriptor
deprecated
added in
v0.0.48
func (*PageListProductTerminalRep) Descriptor() ([]byte, []int)
Deprecated: Use PageListProductTerminalRep.ProtoReflect.Descriptor instead.
func (*PageListProductTerminalRep) GetList ¶ added in v0.0.48
func (x *PageListProductTerminalRep) GetList() []*ProductTerminalInfo
func (*PageListProductTerminalRep) GetTotal ¶ added in v0.0.48
func (x *PageListProductTerminalRep) GetTotal() uint64
func (*PageListProductTerminalRep) ProtoMessage ¶ added in v0.0.48
func (*PageListProductTerminalRep) ProtoMessage()
func (*PageListProductTerminalRep) ProtoReflect ¶ added in v0.0.48
func (x *PageListProductTerminalRep) ProtoReflect() protoreflect.Message
func (*PageListProductTerminalRep) Reset ¶ added in v0.0.48
func (x *PageListProductTerminalRep) Reset()
func (*PageListProductTerminalRep) String ¶ added in v0.0.48
func (x *PageListProductTerminalRep) String() string
func (*PageListProductTerminalRep) Validate ¶ added in v0.0.48
func (m *PageListProductTerminalRep) Validate() error
Validate checks the field values on PageListProductTerminalRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListProductTerminalRep) ValidateAll ¶ added in v0.0.48
func (m *PageListProductTerminalRep) ValidateAll() error
ValidateAll checks the field values on PageListProductTerminalRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListProductTerminalRepMultiError, or nil if none found.
type PageListProductTerminalRepMultiError ¶ added in v0.0.48
type PageListProductTerminalRepMultiError []error
PageListProductTerminalRepMultiError is an error wrapping multiple validation errors returned by PageListProductTerminalRep.ValidateAll() if the designated constraints aren't met.
func (PageListProductTerminalRepMultiError) AllErrors ¶ added in v0.0.48
func (m PageListProductTerminalRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListProductTerminalRepMultiError) Error ¶ added in v0.0.48
func (m PageListProductTerminalRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListProductTerminalRepValidationError ¶ added in v0.0.48
type PageListProductTerminalRepValidationError struct {
// contains filtered or unexported fields
}
PageListProductTerminalRepValidationError is the validation error returned by PageListProductTerminalRep.Validate if the designated constraints aren't met.
func (PageListProductTerminalRepValidationError) Cause ¶ added in v0.0.48
func (e PageListProductTerminalRepValidationError) Cause() error
Cause function returns cause value.
func (PageListProductTerminalRepValidationError) Error ¶ added in v0.0.48
func (e PageListProductTerminalRepValidationError) Error() string
Error satisfies the builtin error interface
func (PageListProductTerminalRepValidationError) ErrorName ¶ added in v0.0.48
func (e PageListProductTerminalRepValidationError) ErrorName() string
ErrorName returns error name.
func (PageListProductTerminalRepValidationError) Field ¶ added in v0.0.48
func (e PageListProductTerminalRepValidationError) Field() string
Field function returns field value.
func (PageListProductTerminalRepValidationError) Key ¶ added in v0.0.48
func (e PageListProductTerminalRepValidationError) Key() bool
Key function returns key value.
func (PageListProductTerminalRepValidationError) Reason ¶ added in v0.0.48
func (e PageListProductTerminalRepValidationError) Reason() string
Reason function returns reason value.
type PageListProductTerminalReq ¶ added in v0.0.48
type PageListProductTerminalReq struct { // 页数 Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 每页数量 PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // contains filtered or unexported fields }
func (*PageListProductTerminalReq) Descriptor
deprecated
added in
v0.0.48
func (*PageListProductTerminalReq) Descriptor() ([]byte, []int)
Deprecated: Use PageListProductTerminalReq.ProtoReflect.Descriptor instead.
func (*PageListProductTerminalReq) GetPage ¶ added in v0.0.48
func (x *PageListProductTerminalReq) GetPage() uint64
func (*PageListProductTerminalReq) GetPageSize ¶ added in v0.0.48
func (x *PageListProductTerminalReq) GetPageSize() uint64
func (*PageListProductTerminalReq) ProtoMessage ¶ added in v0.0.48
func (*PageListProductTerminalReq) ProtoMessage()
func (*PageListProductTerminalReq) ProtoReflect ¶ added in v0.0.48
func (x *PageListProductTerminalReq) ProtoReflect() protoreflect.Message
func (*PageListProductTerminalReq) Reset ¶ added in v0.0.48
func (x *PageListProductTerminalReq) Reset()
func (*PageListProductTerminalReq) String ¶ added in v0.0.48
func (x *PageListProductTerminalReq) String() string
func (*PageListProductTerminalReq) Validate ¶ added in v0.0.48
func (m *PageListProductTerminalReq) Validate() error
Validate checks the field values on PageListProductTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListProductTerminalReq) ValidateAll ¶ added in v0.0.48
func (m *PageListProductTerminalReq) ValidateAll() error
ValidateAll checks the field values on PageListProductTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListProductTerminalReqMultiError, or nil if none found.
type PageListProductTerminalReqMultiError ¶ added in v0.0.48
type PageListProductTerminalReqMultiError []error
PageListProductTerminalReqMultiError is an error wrapping multiple validation errors returned by PageListProductTerminalReq.ValidateAll() if the designated constraints aren't met.
func (PageListProductTerminalReqMultiError) AllErrors ¶ added in v0.0.48
func (m PageListProductTerminalReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListProductTerminalReqMultiError) Error ¶ added in v0.0.48
func (m PageListProductTerminalReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListProductTerminalReqValidationError ¶ added in v0.0.48
type PageListProductTerminalReqValidationError struct {
// contains filtered or unexported fields
}
PageListProductTerminalReqValidationError is the validation error returned by PageListProductTerminalReq.Validate if the designated constraints aren't met.
func (PageListProductTerminalReqValidationError) Cause ¶ added in v0.0.48
func (e PageListProductTerminalReqValidationError) Cause() error
Cause function returns cause value.
func (PageListProductTerminalReqValidationError) Error ¶ added in v0.0.48
func (e PageListProductTerminalReqValidationError) Error() string
Error satisfies the builtin error interface
func (PageListProductTerminalReqValidationError) ErrorName ¶ added in v0.0.48
func (e PageListProductTerminalReqValidationError) ErrorName() string
ErrorName returns error name.
func (PageListProductTerminalReqValidationError) Field ¶ added in v0.0.48
func (e PageListProductTerminalReqValidationError) Field() string
Field function returns field value.
func (PageListProductTerminalReqValidationError) Key ¶ added in v0.0.48
func (e PageListProductTerminalReqValidationError) Key() bool
Key function returns key value.
func (PageListProductTerminalReqValidationError) Reason ¶ added in v0.0.48
func (e PageListProductTerminalReqValidationError) Reason() string
Reason function returns reason value.
type PageListRegionRep ¶ added in v0.0.48
type PageListRegionRep struct { // 总条数 Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 列表 List []*RegionInfo `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PageListRegionRep) Descriptor
deprecated
added in
v0.0.48
func (*PageListRegionRep) Descriptor() ([]byte, []int)
Deprecated: Use PageListRegionRep.ProtoReflect.Descriptor instead.
func (*PageListRegionRep) GetList ¶ added in v0.0.48
func (x *PageListRegionRep) GetList() []*RegionInfo
func (*PageListRegionRep) GetTotal ¶ added in v0.0.48
func (x *PageListRegionRep) GetTotal() uint64
func (*PageListRegionRep) ProtoMessage ¶ added in v0.0.48
func (*PageListRegionRep) ProtoMessage()
func (*PageListRegionRep) ProtoReflect ¶ added in v0.0.48
func (x *PageListRegionRep) ProtoReflect() protoreflect.Message
func (*PageListRegionRep) Reset ¶ added in v0.0.48
func (x *PageListRegionRep) Reset()
func (*PageListRegionRep) String ¶ added in v0.0.48
func (x *PageListRegionRep) String() string
func (*PageListRegionRep) Validate ¶ added in v0.0.48
func (m *PageListRegionRep) Validate() error
Validate checks the field values on PageListRegionRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListRegionRep) ValidateAll ¶ added in v0.0.48
func (m *PageListRegionRep) ValidateAll() error
ValidateAll checks the field values on PageListRegionRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListRegionRepMultiError, or nil if none found.
type PageListRegionRepMultiError ¶ added in v0.0.48
type PageListRegionRepMultiError []error
PageListRegionRepMultiError is an error wrapping multiple validation errors returned by PageListRegionRep.ValidateAll() if the designated constraints aren't met.
func (PageListRegionRepMultiError) AllErrors ¶ added in v0.0.48
func (m PageListRegionRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListRegionRepMultiError) Error ¶ added in v0.0.48
func (m PageListRegionRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListRegionRepValidationError ¶ added in v0.0.48
type PageListRegionRepValidationError struct {
// contains filtered or unexported fields
}
PageListRegionRepValidationError is the validation error returned by PageListRegionRep.Validate if the designated constraints aren't met.
func (PageListRegionRepValidationError) Cause ¶ added in v0.0.48
func (e PageListRegionRepValidationError) Cause() error
Cause function returns cause value.
func (PageListRegionRepValidationError) Error ¶ added in v0.0.48
func (e PageListRegionRepValidationError) Error() string
Error satisfies the builtin error interface
func (PageListRegionRepValidationError) ErrorName ¶ added in v0.0.48
func (e PageListRegionRepValidationError) ErrorName() string
ErrorName returns error name.
func (PageListRegionRepValidationError) Field ¶ added in v0.0.48
func (e PageListRegionRepValidationError) Field() string
Field function returns field value.
func (PageListRegionRepValidationError) Key ¶ added in v0.0.48
func (e PageListRegionRepValidationError) Key() bool
Key function returns key value.
func (PageListRegionRepValidationError) Reason ¶ added in v0.0.48
func (e PageListRegionRepValidationError) Reason() string
Reason function returns reason value.
type PageListRegionReq ¶ added in v0.0.48
type PageListRegionReq struct { // 页数 Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 每页数量 PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 区域名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PageListRegionReq) Descriptor
deprecated
added in
v0.0.48
func (*PageListRegionReq) Descriptor() ([]byte, []int)
Deprecated: Use PageListRegionReq.ProtoReflect.Descriptor instead.
func (*PageListRegionReq) GetName ¶ added in v0.0.48
func (x *PageListRegionReq) GetName() string
func (*PageListRegionReq) GetPage ¶ added in v0.0.48
func (x *PageListRegionReq) GetPage() uint64
func (*PageListRegionReq) GetPageSize ¶ added in v0.0.48
func (x *PageListRegionReq) GetPageSize() uint64
func (*PageListRegionReq) ProtoMessage ¶ added in v0.0.48
func (*PageListRegionReq) ProtoMessage()
func (*PageListRegionReq) ProtoReflect ¶ added in v0.0.48
func (x *PageListRegionReq) ProtoReflect() protoreflect.Message
func (*PageListRegionReq) Reset ¶ added in v0.0.48
func (x *PageListRegionReq) Reset()
func (*PageListRegionReq) String ¶ added in v0.0.48
func (x *PageListRegionReq) String() string
func (*PageListRegionReq) Validate ¶ added in v0.0.48
func (m *PageListRegionReq) Validate() error
Validate checks the field values on PageListRegionReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListRegionReq) ValidateAll ¶ added in v0.0.48
func (m *PageListRegionReq) ValidateAll() error
ValidateAll checks the field values on PageListRegionReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListRegionReqMultiError, or nil if none found.
type PageListRegionReqMultiError ¶ added in v0.0.48
type PageListRegionReqMultiError []error
PageListRegionReqMultiError is an error wrapping multiple validation errors returned by PageListRegionReq.ValidateAll() if the designated constraints aren't met.
func (PageListRegionReqMultiError) AllErrors ¶ added in v0.0.48
func (m PageListRegionReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListRegionReqMultiError) Error ¶ added in v0.0.48
func (m PageListRegionReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListRegionReqValidationError ¶ added in v0.0.48
type PageListRegionReqValidationError struct {
// contains filtered or unexported fields
}
PageListRegionReqValidationError is the validation error returned by PageListRegionReq.Validate if the designated constraints aren't met.
func (PageListRegionReqValidationError) Cause ¶ added in v0.0.48
func (e PageListRegionReqValidationError) Cause() error
Cause function returns cause value.
func (PageListRegionReqValidationError) Error ¶ added in v0.0.48
func (e PageListRegionReqValidationError) Error() string
Error satisfies the builtin error interface
func (PageListRegionReqValidationError) ErrorName ¶ added in v0.0.48
func (e PageListRegionReqValidationError) ErrorName() string
ErrorName returns error name.
func (PageListRegionReqValidationError) Field ¶ added in v0.0.48
func (e PageListRegionReqValidationError) Field() string
Field function returns field value.
func (PageListRegionReqValidationError) Key ¶ added in v0.0.48
func (e PageListRegionReqValidationError) Key() bool
Key function returns key value.
func (PageListRegionReqValidationError) Reason ¶ added in v0.0.48
func (e PageListRegionReqValidationError) Reason() string
Reason function returns reason value.
type PageListTerminalRep ¶
type PageListTerminalRep struct { // 总记录数 Total uint64 `protobuf:"varint,1,opt,name=total,proto3" json:"total,omitempty"` // 列表 List []*Terminal `protobuf:"bytes,2,rep,name=list,proto3" json:"list,omitempty"` // contains filtered or unexported fields }
func (*PageListTerminalRep) Descriptor
deprecated
func (*PageListTerminalRep) Descriptor() ([]byte, []int)
Deprecated: Use PageListTerminalRep.ProtoReflect.Descriptor instead.
func (*PageListTerminalRep) GetList ¶
func (x *PageListTerminalRep) GetList() []*Terminal
func (*PageListTerminalRep) GetTotal ¶
func (x *PageListTerminalRep) GetTotal() uint64
func (*PageListTerminalRep) ProtoMessage ¶
func (*PageListTerminalRep) ProtoMessage()
func (*PageListTerminalRep) ProtoReflect ¶
func (x *PageListTerminalRep) ProtoReflect() protoreflect.Message
func (*PageListTerminalRep) Reset ¶
func (x *PageListTerminalRep) Reset()
func (*PageListTerminalRep) String ¶
func (x *PageListTerminalRep) String() string
func (*PageListTerminalRep) Validate ¶
func (m *PageListTerminalRep) Validate() error
Validate checks the field values on PageListTerminalRep with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListTerminalRep) ValidateAll ¶
func (m *PageListTerminalRep) ValidateAll() error
ValidateAll checks the field values on PageListTerminalRep with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListTerminalRepMultiError, or nil if none found.
type PageListTerminalRepMultiError ¶
type PageListTerminalRepMultiError []error
PageListTerminalRepMultiError is an error wrapping multiple validation errors returned by PageListTerminalRep.ValidateAll() if the designated constraints aren't met.
func (PageListTerminalRepMultiError) AllErrors ¶
func (m PageListTerminalRepMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListTerminalRepMultiError) Error ¶
func (m PageListTerminalRepMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListTerminalRepValidationError ¶
type PageListTerminalRepValidationError struct {
// contains filtered or unexported fields
}
PageListTerminalRepValidationError is the validation error returned by PageListTerminalRep.Validate if the designated constraints aren't met.
func (PageListTerminalRepValidationError) Cause ¶
func (e PageListTerminalRepValidationError) Cause() error
Cause function returns cause value.
func (PageListTerminalRepValidationError) Error ¶
func (e PageListTerminalRepValidationError) Error() string
Error satisfies the builtin error interface
func (PageListTerminalRepValidationError) ErrorName ¶
func (e PageListTerminalRepValidationError) ErrorName() string
ErrorName returns error name.
func (PageListTerminalRepValidationError) Field ¶
func (e PageListTerminalRepValidationError) Field() string
Field function returns field value.
func (PageListTerminalRepValidationError) Key ¶
func (e PageListTerminalRepValidationError) Key() bool
Key function returns key value.
func (PageListTerminalRepValidationError) Reason ¶
func (e PageListTerminalRepValidationError) Reason() string
Reason function returns reason value.
type PageListTerminalReq ¶
type PageListTerminalReq struct { // 页码 Page uint64 `protobuf:"varint,1,opt,name=page,proto3" json:"page,omitempty"` // 页记录数 PageSize uint64 `protobuf:"varint,2,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` // 用户名 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // contains filtered or unexported fields }
func (*PageListTerminalReq) Descriptor
deprecated
func (*PageListTerminalReq) Descriptor() ([]byte, []int)
Deprecated: Use PageListTerminalReq.ProtoReflect.Descriptor instead.
func (*PageListTerminalReq) GetName ¶
func (x *PageListTerminalReq) GetName() string
func (*PageListTerminalReq) GetPage ¶
func (x *PageListTerminalReq) GetPage() uint64
func (*PageListTerminalReq) GetPageSize ¶
func (x *PageListTerminalReq) GetPageSize() uint64
func (*PageListTerminalReq) ProtoMessage ¶
func (*PageListTerminalReq) ProtoMessage()
func (*PageListTerminalReq) ProtoReflect ¶
func (x *PageListTerminalReq) ProtoReflect() protoreflect.Message
func (*PageListTerminalReq) Reset ¶
func (x *PageListTerminalReq) Reset()
func (*PageListTerminalReq) String ¶
func (x *PageListTerminalReq) String() string
func (*PageListTerminalReq) Validate ¶
func (m *PageListTerminalReq) Validate() error
Validate checks the field values on PageListTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*PageListTerminalReq) ValidateAll ¶
func (m *PageListTerminalReq) ValidateAll() error
ValidateAll checks the field values on PageListTerminalReq with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in PageListTerminalReqMultiError, or nil if none found.
type PageListTerminalReqMultiError ¶
type PageListTerminalReqMultiError []error
PageListTerminalReqMultiError is an error wrapping multiple validation errors returned by PageListTerminalReq.ValidateAll() if the designated constraints aren't met.
func (PageListTerminalReqMultiError) AllErrors ¶
func (m PageListTerminalReqMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (PageListTerminalReqMultiError) Error ¶
func (m PageListTerminalReqMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type PageListTerminalReqValidationError ¶
type PageListTerminalReqValidationError struct {
// contains filtered or unexported fields
}
PageListTerminalReqValidationError is the validation error returned by PageListTerminalReq.Validate if the designated constraints aren't met.
func (PageListTerminalReqValidationError) Cause ¶
func (e PageListTerminalReqValidationError) Cause() error
Cause function returns cause value.
func (PageListTerminalReqValidationError) Error ¶
func (e PageListTerminalReqValidationError) Error() string
Error satisfies the builtin error interface
func (PageListTerminalReqValidationError) ErrorName ¶
func (e PageListTerminalReqValidationError) ErrorName() string
ErrorName returns error name.
func (PageListTerminalReqValidationError) Field ¶
func (e PageListTerminalReqValidationError) Field() string
Field function returns field value.
func (PageListTerminalReqValidationError) Key ¶
func (e PageListTerminalReqValidationError) Key() bool
Key function returns key value.
func (PageListTerminalReqValidationError) Reason ¶
func (e PageListTerminalReqValidationError) Reason() string
Reason function returns reason value.
type ProductClient ¶
type ProductClient interface { // 创建终端 CreateTerminal(ctx context.Context, in *CreateTerminalReq, opts ...grpc.CallOption) (*ProductStatus, error) // 编辑终端 EditTerminal(ctx context.Context, in *EditTerminalReq, opts ...grpc.CallOption) (*ProductStatus, error) // 删除终端 DelTerminal(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error) // 获取终端列表 ListTerminal(ctx context.Context, in *Terminal, opts ...grpc.CallOption) (*ListTerminalRep, error) // 分页获取终端列表 PageListTerminal(ctx context.Context, in *PageListTerminalReq, opts ...grpc.CallOption) (*PageListTerminalRep, error) // 查询单条终端信息 GetTerminal(ctx context.Context, in *Terminal, opts ...grpc.CallOption) (*Terminal, error) // 创建产品类型 CreateKind(ctx context.Context, in *CreateKindReq, opts ...grpc.CallOption) (*ProductStatus, error) // 编辑产品类型 EditKind(ctx context.Context, in *EditKindReq, opts ...grpc.CallOption) (*ProductStatus, error) // 删除产品类型 DelKind(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error) // 获取产品类型列表 ListKind(ctx context.Context, in *Kind, opts ...grpc.CallOption) (*ListKindRep, error) // 分页获取产品类型列表 PageListKind(ctx context.Context, in *PageListKindReq, opts ...grpc.CallOption) (*PageListKindRep, error) // 查询单条产品类型 GetKind(ctx context.Context, in *Kind, opts ...grpc.CallOption) (*Kind, error) // 创建产品 CreateProduct(ctx context.Context, in *CreateProductReq, opts ...grpc.CallOption) (*ProductStatus, error) // 编辑产品 EditProduct(ctx context.Context, in *EditProductReq, opts ...grpc.CallOption) (*ProductStatus, error) // 删除产品 DelProduct(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error) // 获取产品类型列表 ListProduct(ctx context.Context, in *ProductInfo, opts ...grpc.CallOption) (*ListProductRep, error) // 分页获取产品类型列表 PageListProduct(ctx context.Context, in *PageListProductReq, opts ...grpc.CallOption) (*PageListProductRep, error) // 查询单条产品类型 GetProduct(ctx context.Context, in *ProductInfo, opts ...grpc.CallOption) (*ProductInfo, error) // 创建产品分类 CreateCategory(ctx context.Context, in *CreateCategoryReq, opts ...grpc.CallOption) (*ProductStatus, error) // 编辑产品分类 EditCategory(ctx context.Context, in *EditCategoryReq, opts ...grpc.CallOption) (*ProductStatus, error) // 删除产品分类 DelCategory(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error) // 获取产品分类列表 ListCategory(ctx context.Context, in *CategoryInfo, opts ...grpc.CallOption) (*ListCategoryRep, error) // 分页获取产品分类列表 PageListCategory(ctx context.Context, in *PageListCategoryReq, opts ...grpc.CallOption) (*PageListCategoryRep, error) // 查询单条产品分类 GetCategory(ctx context.Context, in *CategoryInfo, opts ...grpc.CallOption) (*CategoryInfo, error) // 创建区域 CreateRegion(ctx context.Context, in *CreateRegionReq, opts ...grpc.CallOption) (*ProductStatus, error) // 编辑区域 EditRegion(ctx context.Context, in *EditRegionReq, opts ...grpc.CallOption) (*ProductStatus, error) // 删除区域 DelRegion(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error) // 获取区域列表 ListRegion(ctx context.Context, in *RegionInfo, opts ...grpc.CallOption) (*ListRegionRep, error) // 分页获取区域列表 PageListRegion(ctx context.Context, in *PageListRegionReq, opts ...grpc.CallOption) (*PageListRegionRep, error) // 查询单条区域 GetRegion(ctx context.Context, in *RegionInfo, opts ...grpc.CallOption) (*RegionInfo, error) // 创建产品详情 CreateProductInfo(ctx context.Context, in *CreateProductInfoReq, opts ...grpc.CallOption) (*ProductStatus, error) // 编辑产品详情 EditProductInfo(ctx context.Context, in *EditProductInfoReq, opts ...grpc.CallOption) (*ProductStatus, error) // 删除产品详情 DelProductInfo(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error) // 获取产品详情列表 ListProductInfo(ctx context.Context, in *ProductInfoInfo, opts ...grpc.CallOption) (*ListProductInfoRep, error) // 分页获取产品详情列表 PageListProductInfo(ctx context.Context, in *PageListProductInfoReq, opts ...grpc.CallOption) (*PageListProductInfoRep, error) // 获取单挑产品详情 GetProductInfo(ctx context.Context, in *ProductInfoInfo, opts ...grpc.CallOption) (*ProductInfoInfo, error) // 添加产品终端 CreateProductTerminal(ctx context.Context, in *CreateProductTerminalReq, opts ...grpc.CallOption) (*ProductStatus, error) // 编辑产品终端 EditProductTerminal(ctx context.Context, in *EditProductTerminalReq, opts ...grpc.CallOption) (*ProductStatus, error) // 删除产品终端 DelProductTerminal(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error) // 获取产品终端列表 ListProductTerminal(ctx context.Context, in *ProductTerminalInfo, opts ...grpc.CallOption) (*ListProductTerminalInfoRep, error) // 分页获取产品终端列表 PageProductTerminal(ctx context.Context, in *PageListProductTerminalReq, opts ...grpc.CallOption) (*PageListProductTerminalRep, error) // 获取单挑产品终端 GetProductTerminalInfo(ctx context.Context, in *ProductTerminalInfo, opts ...grpc.CallOption) (*ProductTerminalInfo, error) // 创建产品属性 CreateAttribute(ctx context.Context, in *CreateAttributeReq, opts ...grpc.CallOption) (*ProductStatus, error) // 编辑产品属性 EditAttribute(ctx context.Context, in *EditAttributeReq, opts ...grpc.CallOption) (*ProductStatus, error) // 删除产品属性 DelAttribute(ctx context.Context, in *DelIdReq, opts ...grpc.CallOption) (*ProductStatus, error) // 获取产品属性列表 ListAttribute(ctx context.Context, in *Attribute, opts ...grpc.CallOption) (*ListAttributeRep, error) // 分页获取产品属性列表 PageListAttribute(ctx context.Context, in *PageListAttributeReq, opts ...grpc.CallOption) (*PageListAttributeRep, error) // 查询单条产品属性 GetAttribute(ctx context.Context, in *Attribute, opts ...grpc.CallOption) (*Attribute, error) }
ProductClient is the client API for Product service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewProductClient ¶
func NewProductClient(cc grpc.ClientConnInterface) ProductClient
type ProductHTTPClient ¶
type ProductHTTPClient interface { CreateAttribute(ctx context.Context, req *CreateAttributeReq, opts ...http.CallOption) (rsp *ProductStatus, err error) CreateCategory(ctx context.Context, req *CreateCategoryReq, opts ...http.CallOption) (rsp *ProductStatus, err error) CreateKind(ctx context.Context, req *CreateKindReq, opts ...http.CallOption) (rsp *ProductStatus, err error) CreateProduct(ctx context.Context, req *CreateProductReq, opts ...http.CallOption) (rsp *ProductStatus, err error) CreateProductInfo(ctx context.Context, req *CreateProductInfoReq, opts ...http.CallOption) (rsp *ProductStatus, err error) CreateProductTerminal(ctx context.Context, req *CreateProductTerminalReq, opts ...http.CallOption) (rsp *ProductStatus, err error) CreateRegion(ctx context.Context, req *CreateRegionReq, opts ...http.CallOption) (rsp *ProductStatus, err error) CreateTerminal(ctx context.Context, req *CreateTerminalReq, opts ...http.CallOption) (rsp *ProductStatus, err error) DelAttribute(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error) DelCategory(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error) DelKind(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error) DelProduct(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error) DelProductInfo(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error) DelProductTerminal(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error) DelRegion(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error) DelTerminal(ctx context.Context, req *DelIdReq, opts ...http.CallOption) (rsp *ProductStatus, err error) EditAttribute(ctx context.Context, req *EditAttributeReq, opts ...http.CallOption) (rsp *ProductStatus, err error) EditCategory(ctx context.Context, req *EditCategoryReq, opts ...http.CallOption) (rsp *ProductStatus, err error) EditKind(ctx context.Context, req *EditKindReq, opts ...http.CallOption) (rsp *ProductStatus, err error) EditProduct(ctx context.Context, req *EditProductReq, opts ...http.CallOption) (rsp *ProductStatus, err error) EditProductInfo(ctx context.Context, req *EditProductInfoReq, opts ...http.CallOption) (rsp *ProductStatus, err error) EditProductTerminal(ctx context.Context, req *EditProductTerminalReq, opts ...http.CallOption) (rsp *ProductStatus, err error) EditRegion(ctx context.Context, req *EditRegionReq, opts ...http.CallOption) (rsp *ProductStatus, err error) EditTerminal(ctx context.Context, req *EditTerminalReq, opts ...http.CallOption) (rsp *ProductStatus, err error) GetAttribute(ctx context.Context, req *Attribute, opts ...http.CallOption) (rsp *Attribute, err error) GetCategory(ctx context.Context, req *CategoryInfo, opts ...http.CallOption) (rsp *CategoryInfo, err error) GetKind(ctx context.Context, req *Kind, opts ...http.CallOption) (rsp *Kind, err error) GetProduct(ctx context.Context, req *ProductInfo, opts ...http.CallOption) (rsp *ProductInfo, err error) GetProductInfo(ctx context.Context, req *ProductInfoInfo, opts ...http.CallOption) (rsp *ProductInfoInfo, err error) GetProductTerminalInfo(ctx context.Context, req *ProductTerminalInfo, opts ...http.CallOption) (rsp *ProductTerminalInfo, err error) GetRegion(ctx context.Context, req *RegionInfo, opts ...http.CallOption) (rsp *RegionInfo, err error) GetTerminal(ctx context.Context, req *Terminal, opts ...http.CallOption) (rsp *Terminal, err error) ListAttribute(ctx context.Context, req *Attribute, opts ...http.CallOption) (rsp *ListAttributeRep, err error) ListCategory(ctx context.Context, req *CategoryInfo, opts ...http.CallOption) (rsp *ListCategoryRep, err error) ListKind(ctx context.Context, req *Kind, opts ...http.CallOption) (rsp *ListKindRep, err error) ListProduct(ctx context.Context, req *ProductInfo, opts ...http.CallOption) (rsp *ListProductRep, err error) ListProductInfo(ctx context.Context, req *ProductInfoInfo, opts ...http.CallOption) (rsp *ListProductInfoRep, err error) ListProductTerminal(ctx context.Context, req *ProductTerminalInfo, opts ...http.CallOption) (rsp *ListProductTerminalInfoRep, err error) ListRegion(ctx context.Context, req *RegionInfo, opts ...http.CallOption) (rsp *ListRegionRep, err error) ListTerminal(ctx context.Context, req *Terminal, opts ...http.CallOption) (rsp *ListTerminalRep, err error) PageListAttribute(ctx context.Context, req *PageListAttributeReq, opts ...http.CallOption) (rsp *PageListAttributeRep, err error) PageListCategory(ctx context.Context, req *PageListCategoryReq, opts ...http.CallOption) (rsp *PageListCategoryRep, err error) PageListKind(ctx context.Context, req *PageListKindReq, opts ...http.CallOption) (rsp *PageListKindRep, err error) PageListProduct(ctx context.Context, req *PageListProductReq, opts ...http.CallOption) (rsp *PageListProductRep, err error) PageListProductInfo(ctx context.Context, req *PageListProductInfoReq, opts ...http.CallOption) (rsp *PageListProductInfoRep, err error) PageListRegion(ctx context.Context, req *PageListRegionReq, opts ...http.CallOption) (rsp *PageListRegionRep, err error) PageListTerminal(ctx context.Context, req *PageListTerminalReq, opts ...http.CallOption) (rsp *PageListTerminalRep, err error) PageProductTerminal(ctx context.Context, req *PageListProductTerminalReq, opts ...http.CallOption) (rsp *PageListProductTerminalRep, err error) }
func NewProductHTTPClient ¶
func NewProductHTTPClient(client *http.Client) ProductHTTPClient
type ProductHTTPClientImpl ¶
type ProductHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*ProductHTTPClientImpl) CreateAttribute ¶ added in v0.0.64
func (c *ProductHTTPClientImpl) CreateAttribute(ctx context.Context, in *CreateAttributeReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) CreateCategory ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) CreateCategory(ctx context.Context, in *CreateCategoryReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) CreateKind ¶
func (c *ProductHTTPClientImpl) CreateKind(ctx context.Context, in *CreateKindReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) CreateProduct ¶
func (c *ProductHTTPClientImpl) CreateProduct(ctx context.Context, in *CreateProductReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) CreateProductInfo ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) CreateProductInfo(ctx context.Context, in *CreateProductInfoReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) CreateProductTerminal ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) CreateProductTerminal(ctx context.Context, in *CreateProductTerminalReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) CreateRegion ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) CreateRegion(ctx context.Context, in *CreateRegionReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) CreateTerminal ¶
func (c *ProductHTTPClientImpl) CreateTerminal(ctx context.Context, in *CreateTerminalReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) DelAttribute ¶ added in v0.0.64
func (c *ProductHTTPClientImpl) DelAttribute(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) DelCategory ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) DelCategory(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) DelKind ¶
func (c *ProductHTTPClientImpl) DelKind(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) DelProduct ¶
func (c *ProductHTTPClientImpl) DelProduct(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) DelProductInfo ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) DelProductInfo(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) DelProductTerminal ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) DelProductTerminal(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) DelRegion ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) DelRegion(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) DelTerminal ¶
func (c *ProductHTTPClientImpl) DelTerminal(ctx context.Context, in *DelIdReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) EditAttribute ¶ added in v0.0.64
func (c *ProductHTTPClientImpl) EditAttribute(ctx context.Context, in *EditAttributeReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) EditCategory ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) EditCategory(ctx context.Context, in *EditCategoryReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) EditKind ¶
func (c *ProductHTTPClientImpl) EditKind(ctx context.Context, in *EditKindReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) EditProduct ¶
func (c *ProductHTTPClientImpl) EditProduct(ctx context.Context, in *EditProductReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) EditProductInfo ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) EditProductInfo(ctx context.Context, in *EditProductInfoReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) EditProductTerminal ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) EditProductTerminal(ctx context.Context, in *EditProductTerminalReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) EditRegion ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) EditRegion(ctx context.Context, in *EditRegionReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) EditTerminal ¶
func (c *ProductHTTPClientImpl) EditTerminal(ctx context.Context, in *EditTerminalReq, opts ...http.CallOption) (*ProductStatus, error)
func (*ProductHTTPClientImpl) GetAttribute ¶ added in v0.0.64
func (c *ProductHTTPClientImpl) GetAttribute(ctx context.Context, in *Attribute, opts ...http.CallOption) (*Attribute, error)
func (*ProductHTTPClientImpl) GetCategory ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) GetCategory(ctx context.Context, in *CategoryInfo, opts ...http.CallOption) (*CategoryInfo, error)
func (*ProductHTTPClientImpl) GetKind ¶
func (c *ProductHTTPClientImpl) GetKind(ctx context.Context, in *Kind, opts ...http.CallOption) (*Kind, error)
func (*ProductHTTPClientImpl) GetProduct ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) GetProduct(ctx context.Context, in *ProductInfo, opts ...http.CallOption) (*ProductInfo, error)
func (*ProductHTTPClientImpl) GetProductInfo ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) GetProductInfo(ctx context.Context, in *ProductInfoInfo, opts ...http.CallOption) (*ProductInfoInfo, error)
func (*ProductHTTPClientImpl) GetProductTerminalInfo ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) GetProductTerminalInfo(ctx context.Context, in *ProductTerminalInfo, opts ...http.CallOption) (*ProductTerminalInfo, error)
func (*ProductHTTPClientImpl) GetRegion ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) GetRegion(ctx context.Context, in *RegionInfo, opts ...http.CallOption) (*RegionInfo, error)
func (*ProductHTTPClientImpl) GetTerminal ¶
func (c *ProductHTTPClientImpl) GetTerminal(ctx context.Context, in *Terminal, opts ...http.CallOption) (*Terminal, error)
func (*ProductHTTPClientImpl) ListAttribute ¶ added in v0.0.64
func (c *ProductHTTPClientImpl) ListAttribute(ctx context.Context, in *Attribute, opts ...http.CallOption) (*ListAttributeRep, error)
func (*ProductHTTPClientImpl) ListCategory ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) ListCategory(ctx context.Context, in *CategoryInfo, opts ...http.CallOption) (*ListCategoryRep, error)
func (*ProductHTTPClientImpl) ListKind ¶
func (c *ProductHTTPClientImpl) ListKind(ctx context.Context, in *Kind, opts ...http.CallOption) (*ListKindRep, error)
func (*ProductHTTPClientImpl) ListProduct ¶
func (c *ProductHTTPClientImpl) ListProduct(ctx context.Context, in *ProductInfo, opts ...http.CallOption) (*ListProductRep, error)
func (*ProductHTTPClientImpl) ListProductInfo ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) ListProductInfo(ctx context.Context, in *ProductInfoInfo, opts ...http.CallOption) (*ListProductInfoRep, error)
func (*ProductHTTPClientImpl) ListProductTerminal ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) ListProductTerminal(ctx context.Context, in *ProductTerminalInfo, opts ...http.CallOption) (*ListProductTerminalInfoRep, error)
func (*ProductHTTPClientImpl) ListRegion ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) ListRegion(ctx context.Context, in *RegionInfo, opts ...http.CallOption) (*ListRegionRep, error)
func (*ProductHTTPClientImpl) ListTerminal ¶
func (c *ProductHTTPClientImpl) ListTerminal(ctx context.Context, in *Terminal, opts ...http.CallOption) (*ListTerminalRep, error)
func (*ProductHTTPClientImpl) PageListAttribute ¶ added in v0.0.64
func (c *ProductHTTPClientImpl) PageListAttribute(ctx context.Context, in *PageListAttributeReq, opts ...http.CallOption) (*PageListAttributeRep, error)
func (*ProductHTTPClientImpl) PageListCategory ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) PageListCategory(ctx context.Context, in *PageListCategoryReq, opts ...http.CallOption) (*PageListCategoryRep, error)
func (*ProductHTTPClientImpl) PageListKind ¶
func (c *ProductHTTPClientImpl) PageListKind(ctx context.Context, in *PageListKindReq, opts ...http.CallOption) (*PageListKindRep, error)
func (*ProductHTTPClientImpl) PageListProduct ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) PageListProduct(ctx context.Context, in *PageListProductReq, opts ...http.CallOption) (*PageListProductRep, error)
func (*ProductHTTPClientImpl) PageListProductInfo ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) PageListProductInfo(ctx context.Context, in *PageListProductInfoReq, opts ...http.CallOption) (*PageListProductInfoRep, error)
func (*ProductHTTPClientImpl) PageListRegion ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) PageListRegion(ctx context.Context, in *PageListRegionReq, opts ...http.CallOption) (*PageListRegionRep, error)
func (*ProductHTTPClientImpl) PageListTerminal ¶
func (c *ProductHTTPClientImpl) PageListTerminal(ctx context.Context, in *PageListTerminalReq, opts ...http.CallOption) (*PageListTerminalRep, error)
func (*ProductHTTPClientImpl) PageProductTerminal ¶ added in v0.0.48
func (c *ProductHTTPClientImpl) PageProductTerminal(ctx context.Context, in *PageListProductTerminalReq, opts ...http.CallOption) (*PageListProductTerminalRep, error)
type ProductHTTPServer ¶
type ProductHTTPServer interface { // CreateAttribute 创建产品属性 CreateAttribute(context.Context, *CreateAttributeReq) (*ProductStatus, error) // CreateCategory 创建产品分类 CreateCategory(context.Context, *CreateCategoryReq) (*ProductStatus, error) // CreateKind 创建产品类型 CreateKind(context.Context, *CreateKindReq) (*ProductStatus, error) // CreateProduct 创建产品 CreateProduct(context.Context, *CreateProductReq) (*ProductStatus, error) // CreateProductInfo 创建产品详情 CreateProductInfo(context.Context, *CreateProductInfoReq) (*ProductStatus, error) // CreateProductTerminal 添加产品终端 CreateProductTerminal(context.Context, *CreateProductTerminalReq) (*ProductStatus, error) // CreateRegion 创建区域 CreateRegion(context.Context, *CreateRegionReq) (*ProductStatus, error) // CreateTerminal 创建终端 CreateTerminal(context.Context, *CreateTerminalReq) (*ProductStatus, error) // DelAttribute 删除产品属性 DelAttribute(context.Context, *DelIdReq) (*ProductStatus, error) // DelCategory 删除产品分类 DelCategory(context.Context, *DelIdReq) (*ProductStatus, error) // DelKind 删除产品类型 DelKind(context.Context, *DelIdReq) (*ProductStatus, error) // DelProduct 删除产品 DelProduct(context.Context, *DelIdReq) (*ProductStatus, error) // DelProductInfo 删除产品详情 DelProductInfo(context.Context, *DelIdReq) (*ProductStatus, error) // DelProductTerminal 删除产品终端 DelProductTerminal(context.Context, *DelIdReq) (*ProductStatus, error) // DelRegion 删除区域 DelRegion(context.Context, *DelIdReq) (*ProductStatus, error) // DelTerminal 删除终端 DelTerminal(context.Context, *DelIdReq) (*ProductStatus, error) // EditAttribute 编辑产品属性 EditAttribute(context.Context, *EditAttributeReq) (*ProductStatus, error) // EditCategory 编辑产品分类 EditCategory(context.Context, *EditCategoryReq) (*ProductStatus, error) // EditKind 编辑产品类型 EditKind(context.Context, *EditKindReq) (*ProductStatus, error) // EditProduct 编辑产品 EditProduct(context.Context, *EditProductReq) (*ProductStatus, error) // EditProductInfo 编辑产品详情 EditProductInfo(context.Context, *EditProductInfoReq) (*ProductStatus, error) // EditProductTerminal 编辑产品终端 EditProductTerminal(context.Context, *EditProductTerminalReq) (*ProductStatus, error) // EditRegion 编辑区域 EditRegion(context.Context, *EditRegionReq) (*ProductStatus, error) // EditTerminal 编辑终端 EditTerminal(context.Context, *EditTerminalReq) (*ProductStatus, error) // GetAttribute 查询单条产品属性 GetAttribute(context.Context, *Attribute) (*Attribute, error) // GetCategory 查询单条产品分类 GetCategory(context.Context, *CategoryInfo) (*CategoryInfo, error) // GetKind 查询单条产品类型 GetKind(context.Context, *Kind) (*Kind, error) // GetProduct 查询单条产品类型 GetProduct(context.Context, *ProductInfo) (*ProductInfo, error) // GetProductInfo 获取单挑产品详情 GetProductInfo(context.Context, *ProductInfoInfo) (*ProductInfoInfo, error) // GetProductTerminalInfo 获取单挑产品终端 GetProductTerminalInfo(context.Context, *ProductTerminalInfo) (*ProductTerminalInfo, error) // GetRegion 查询单条区域 GetRegion(context.Context, *RegionInfo) (*RegionInfo, error) // GetTerminal 查询单条终端信息 GetTerminal(context.Context, *Terminal) (*Terminal, error) // ListAttribute 获取产品属性列表 ListAttribute(context.Context, *Attribute) (*ListAttributeRep, error) // ListCategory 获取产品分类列表 ListCategory(context.Context, *CategoryInfo) (*ListCategoryRep, error) // ListKind 获取产品类型列表 ListKind(context.Context, *Kind) (*ListKindRep, error) // ListProduct 获取产品类型列表 ListProduct(context.Context, *ProductInfo) (*ListProductRep, error) // ListProductInfo 获取产品详情列表 ListProductInfo(context.Context, *ProductInfoInfo) (*ListProductInfoRep, error) // ListProductTerminal 获取产品终端列表 ListProductTerminal(context.Context, *ProductTerminalInfo) (*ListProductTerminalInfoRep, error) // ListRegion 获取区域列表 ListRegion(context.Context, *RegionInfo) (*ListRegionRep, error) // ListTerminal 获取终端列表 ListTerminal(context.Context, *Terminal) (*ListTerminalRep, error) // PageListAttribute 分页获取产品属性列表 PageListAttribute(context.Context, *PageListAttributeReq) (*PageListAttributeRep, error) // PageListCategory 分页获取产品分类列表 PageListCategory(context.Context, *PageListCategoryReq) (*PageListCategoryRep, error) // PageListKind 分页获取产品类型列表 PageListKind(context.Context, *PageListKindReq) (*PageListKindRep, error) // PageListProduct 分页获取产品类型列表 PageListProduct(context.Context, *PageListProductReq) (*PageListProductRep, error) // PageListProductInfo 分页获取产品详情列表 PageListProductInfo(context.Context, *PageListProductInfoReq) (*PageListProductInfoRep, error) // PageListRegion 分页获取区域列表 PageListRegion(context.Context, *PageListRegionReq) (*PageListRegionRep, error) // PageListTerminal 分页获取终端列表 PageListTerminal(context.Context, *PageListTerminalReq) (*PageListTerminalRep, error) // PageProductTerminal 分页获取产品终端列表 PageProductTerminal(context.Context, *PageListProductTerminalReq) (*PageListProductTerminalRep, error) }
type ProductInfo ¶
type ProductInfo struct { // 逐渐 Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 产品类型Id KindId uint64 `protobuf:"varint,2,opt,name=kind_id,json=kindId,proto3" json:"kind_id,omitempty"` // 产品名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 关键词 Keywords string `protobuf:"bytes,4,opt,name=keywords,proto3" json:"keywords,omitempty"` // 简介 Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // 创建时间 CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 最后编辑时间 UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 最后删除时间 DeletedAt string `protobuf:"bytes,8,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*ProductInfo) Descriptor
deprecated
func (*ProductInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProductInfo.ProtoReflect.Descriptor instead.
func (*ProductInfo) GetCreatedAt ¶
func (x *ProductInfo) GetCreatedAt() string
func (*ProductInfo) GetDeletedAt ¶
func (x *ProductInfo) GetDeletedAt() string
func (*ProductInfo) GetDescription ¶
func (x *ProductInfo) GetDescription() string
func (*ProductInfo) GetId ¶
func (x *ProductInfo) GetId() uint64
func (*ProductInfo) GetKeywords ¶
func (x *ProductInfo) GetKeywords() string
func (*ProductInfo) GetKindId ¶
func (x *ProductInfo) GetKindId() uint64
func (*ProductInfo) GetName ¶
func (x *ProductInfo) GetName() string
func (*ProductInfo) GetUpdatedAt ¶
func (x *ProductInfo) GetUpdatedAt() string
func (*ProductInfo) ProtoMessage ¶
func (*ProductInfo) ProtoMessage()
func (*ProductInfo) ProtoReflect ¶
func (x *ProductInfo) ProtoReflect() protoreflect.Message
func (*ProductInfo) Reset ¶
func (x *ProductInfo) Reset()
func (*ProductInfo) String ¶
func (x *ProductInfo) String() string
func (*ProductInfo) Validate ¶
func (m *ProductInfo) Validate() error
Validate checks the field values on ProductInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProductInfo) ValidateAll ¶
func (m *ProductInfo) ValidateAll() error
ValidateAll checks the field values on ProductInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProductInfoMultiError, or nil if none found.
type ProductInfoInfo ¶ added in v0.0.48
type ProductInfoInfo struct { // 产品详情ID Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 产品Id ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // 产品类型ID KindId uint64 `protobuf:"varint,3,opt,name=kind_id,json=kindId,proto3" json:"kind_id,omitempty"` // 产品分类 CategoryId uint64 `protobuf:"varint,4,opt,name=category_id,json=categoryId,proto3" json:"category_id,omitempty"` // 产品图片 Img string `protobuf:"bytes,5,opt,name=img,proto3" json:"img,omitempty"` // 产品关键字 Keywords string `protobuf:"bytes,6,opt,name=keywords,proto3" json:"keywords,omitempty"` // 产品简介 Description string `protobuf:"bytes,7,opt,name=description,proto3" json:"description,omitempty"` // 自定义Url路径 Path string `protobuf:"bytes,8,opt,name=path,proto3" json:"path,omitempty"` // 产品数量 Num uint64 `protobuf:"varint,9,opt,name=num,proto3" json:"num,omitempty"` // 控制类型 Control uint64 `protobuf:"varint,10,opt,name=control,proto3" json:"control,omitempty"` // 排序 Sort uint64 `protobuf:"varint,11,opt,name=sort,proto3" json:"sort,omitempty"` // contains filtered or unexported fields }
func (*ProductInfoInfo) Descriptor
deprecated
added in
v0.0.48
func (*ProductInfoInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProductInfoInfo.ProtoReflect.Descriptor instead.
func (*ProductInfoInfo) GetCategoryId ¶ added in v0.0.48
func (x *ProductInfoInfo) GetCategoryId() uint64
func (*ProductInfoInfo) GetControl ¶ added in v0.0.48
func (x *ProductInfoInfo) GetControl() uint64
func (*ProductInfoInfo) GetDescription ¶ added in v0.0.48
func (x *ProductInfoInfo) GetDescription() string
func (*ProductInfoInfo) GetId ¶ added in v0.0.48
func (x *ProductInfoInfo) GetId() uint64
func (*ProductInfoInfo) GetImg ¶ added in v0.0.48
func (x *ProductInfoInfo) GetImg() string
func (*ProductInfoInfo) GetKeywords ¶ added in v0.0.48
func (x *ProductInfoInfo) GetKeywords() string
func (*ProductInfoInfo) GetKindId ¶ added in v0.0.48
func (x *ProductInfoInfo) GetKindId() uint64
func (*ProductInfoInfo) GetNum ¶ added in v0.0.48
func (x *ProductInfoInfo) GetNum() uint64
func (*ProductInfoInfo) GetPath ¶ added in v0.0.48
func (x *ProductInfoInfo) GetPath() string
func (*ProductInfoInfo) GetProductId ¶ added in v0.0.48
func (x *ProductInfoInfo) GetProductId() uint64
func (*ProductInfoInfo) GetSort ¶ added in v0.0.48
func (x *ProductInfoInfo) GetSort() uint64
func (*ProductInfoInfo) ProtoMessage ¶ added in v0.0.48
func (*ProductInfoInfo) ProtoMessage()
func (*ProductInfoInfo) ProtoReflect ¶ added in v0.0.48
func (x *ProductInfoInfo) ProtoReflect() protoreflect.Message
func (*ProductInfoInfo) Reset ¶ added in v0.0.48
func (x *ProductInfoInfo) Reset()
func (*ProductInfoInfo) String ¶ added in v0.0.48
func (x *ProductInfoInfo) String() string
func (*ProductInfoInfo) Validate ¶ added in v0.0.48
func (m *ProductInfoInfo) Validate() error
Validate checks the field values on ProductInfoInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProductInfoInfo) ValidateAll ¶ added in v0.0.48
func (m *ProductInfoInfo) ValidateAll() error
ValidateAll checks the field values on ProductInfoInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProductInfoInfoMultiError, or nil if none found.
type ProductInfoInfoMultiError ¶ added in v0.0.48
type ProductInfoInfoMultiError []error
ProductInfoInfoMultiError is an error wrapping multiple validation errors returned by ProductInfoInfo.ValidateAll() if the designated constraints aren't met.
func (ProductInfoInfoMultiError) AllErrors ¶ added in v0.0.48
func (m ProductInfoInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProductInfoInfoMultiError) Error ¶ added in v0.0.48
func (m ProductInfoInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProductInfoInfoValidationError ¶ added in v0.0.48
type ProductInfoInfoValidationError struct {
// contains filtered or unexported fields
}
ProductInfoInfoValidationError is the validation error returned by ProductInfoInfo.Validate if the designated constraints aren't met.
func (ProductInfoInfoValidationError) Cause ¶ added in v0.0.48
func (e ProductInfoInfoValidationError) Cause() error
Cause function returns cause value.
func (ProductInfoInfoValidationError) Error ¶ added in v0.0.48
func (e ProductInfoInfoValidationError) Error() string
Error satisfies the builtin error interface
func (ProductInfoInfoValidationError) ErrorName ¶ added in v0.0.48
func (e ProductInfoInfoValidationError) ErrorName() string
ErrorName returns error name.
func (ProductInfoInfoValidationError) Field ¶ added in v0.0.48
func (e ProductInfoInfoValidationError) Field() string
Field function returns field value.
func (ProductInfoInfoValidationError) Key ¶ added in v0.0.48
func (e ProductInfoInfoValidationError) Key() bool
Key function returns key value.
func (ProductInfoInfoValidationError) Reason ¶ added in v0.0.48
func (e ProductInfoInfoValidationError) Reason() string
Reason function returns reason value.
type ProductInfoMultiError ¶
type ProductInfoMultiError []error
ProductInfoMultiError is an error wrapping multiple validation errors returned by ProductInfo.ValidateAll() if the designated constraints aren't met.
func (ProductInfoMultiError) AllErrors ¶
func (m ProductInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProductInfoMultiError) Error ¶
func (m ProductInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProductInfoValidationError ¶
type ProductInfoValidationError struct {
// contains filtered or unexported fields
}
ProductInfoValidationError is the validation error returned by ProductInfo.Validate if the designated constraints aren't met.
func (ProductInfoValidationError) Cause ¶
func (e ProductInfoValidationError) Cause() error
Cause function returns cause value.
func (ProductInfoValidationError) Error ¶
func (e ProductInfoValidationError) Error() string
Error satisfies the builtin error interface
func (ProductInfoValidationError) ErrorName ¶
func (e ProductInfoValidationError) ErrorName() string
ErrorName returns error name.
func (ProductInfoValidationError) Field ¶
func (e ProductInfoValidationError) Field() string
Field function returns field value.
func (ProductInfoValidationError) Key ¶
func (e ProductInfoValidationError) Key() bool
Key function returns key value.
func (ProductInfoValidationError) Reason ¶
func (e ProductInfoValidationError) Reason() string
Reason function returns reason value.
type ProductServer ¶
type ProductServer interface { // 创建终端 CreateTerminal(context.Context, *CreateTerminalReq) (*ProductStatus, error) // 编辑终端 EditTerminal(context.Context, *EditTerminalReq) (*ProductStatus, error) // 删除终端 DelTerminal(context.Context, *DelIdReq) (*ProductStatus, error) // 获取终端列表 ListTerminal(context.Context, *Terminal) (*ListTerminalRep, error) // 分页获取终端列表 PageListTerminal(context.Context, *PageListTerminalReq) (*PageListTerminalRep, error) // 查询单条终端信息 GetTerminal(context.Context, *Terminal) (*Terminal, error) // 创建产品类型 CreateKind(context.Context, *CreateKindReq) (*ProductStatus, error) // 编辑产品类型 EditKind(context.Context, *EditKindReq) (*ProductStatus, error) // 删除产品类型 DelKind(context.Context, *DelIdReq) (*ProductStatus, error) // 获取产品类型列表 ListKind(context.Context, *Kind) (*ListKindRep, error) // 分页获取产品类型列表 PageListKind(context.Context, *PageListKindReq) (*PageListKindRep, error) // 查询单条产品类型 GetKind(context.Context, *Kind) (*Kind, error) // 创建产品 CreateProduct(context.Context, *CreateProductReq) (*ProductStatus, error) // 编辑产品 EditProduct(context.Context, *EditProductReq) (*ProductStatus, error) // 删除产品 DelProduct(context.Context, *DelIdReq) (*ProductStatus, error) // 获取产品类型列表 ListProduct(context.Context, *ProductInfo) (*ListProductRep, error) // 分页获取产品类型列表 PageListProduct(context.Context, *PageListProductReq) (*PageListProductRep, error) // 查询单条产品类型 GetProduct(context.Context, *ProductInfo) (*ProductInfo, error) // 创建产品分类 CreateCategory(context.Context, *CreateCategoryReq) (*ProductStatus, error) // 编辑产品分类 EditCategory(context.Context, *EditCategoryReq) (*ProductStatus, error) // 删除产品分类 DelCategory(context.Context, *DelIdReq) (*ProductStatus, error) // 获取产品分类列表 ListCategory(context.Context, *CategoryInfo) (*ListCategoryRep, error) // 分页获取产品分类列表 PageListCategory(context.Context, *PageListCategoryReq) (*PageListCategoryRep, error) // 查询单条产品分类 GetCategory(context.Context, *CategoryInfo) (*CategoryInfo, error) // 创建区域 CreateRegion(context.Context, *CreateRegionReq) (*ProductStatus, error) // 编辑区域 EditRegion(context.Context, *EditRegionReq) (*ProductStatus, error) // 删除区域 DelRegion(context.Context, *DelIdReq) (*ProductStatus, error) // 获取区域列表 ListRegion(context.Context, *RegionInfo) (*ListRegionRep, error) // 分页获取区域列表 PageListRegion(context.Context, *PageListRegionReq) (*PageListRegionRep, error) // 查询单条区域 GetRegion(context.Context, *RegionInfo) (*RegionInfo, error) // 创建产品详情 CreateProductInfo(context.Context, *CreateProductInfoReq) (*ProductStatus, error) // 编辑产品详情 EditProductInfo(context.Context, *EditProductInfoReq) (*ProductStatus, error) // 删除产品详情 DelProductInfo(context.Context, *DelIdReq) (*ProductStatus, error) // 获取产品详情列表 ListProductInfo(context.Context, *ProductInfoInfo) (*ListProductInfoRep, error) // 分页获取产品详情列表 PageListProductInfo(context.Context, *PageListProductInfoReq) (*PageListProductInfoRep, error) // 获取单挑产品详情 GetProductInfo(context.Context, *ProductInfoInfo) (*ProductInfoInfo, error) // 添加产品终端 CreateProductTerminal(context.Context, *CreateProductTerminalReq) (*ProductStatus, error) // 编辑产品终端 EditProductTerminal(context.Context, *EditProductTerminalReq) (*ProductStatus, error) // 删除产品终端 DelProductTerminal(context.Context, *DelIdReq) (*ProductStatus, error) // 获取产品终端列表 ListProductTerminal(context.Context, *ProductTerminalInfo) (*ListProductTerminalInfoRep, error) // 分页获取产品终端列表 PageProductTerminal(context.Context, *PageListProductTerminalReq) (*PageListProductTerminalRep, error) // 获取单挑产品终端 GetProductTerminalInfo(context.Context, *ProductTerminalInfo) (*ProductTerminalInfo, error) // 创建产品属性 CreateAttribute(context.Context, *CreateAttributeReq) (*ProductStatus, error) // 编辑产品属性 EditAttribute(context.Context, *EditAttributeReq) (*ProductStatus, error) // 删除产品属性 DelAttribute(context.Context, *DelIdReq) (*ProductStatus, error) // 获取产品属性列表 ListAttribute(context.Context, *Attribute) (*ListAttributeRep, error) // 分页获取产品属性列表 PageListAttribute(context.Context, *PageListAttributeReq) (*PageListAttributeRep, error) // 查询单条产品属性 GetAttribute(context.Context, *Attribute) (*Attribute, error) // contains filtered or unexported methods }
ProductServer is the server API for Product service. All implementations must embed UnimplementedProductServer for forward compatibility
type ProductStatus ¶
type ProductStatus struct { Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` // contains filtered or unexported fields }
func (*ProductStatus) Descriptor
deprecated
func (*ProductStatus) Descriptor() ([]byte, []int)
Deprecated: Use ProductStatus.ProtoReflect.Descriptor instead.
func (*ProductStatus) GetSuccess ¶
func (x *ProductStatus) GetSuccess() bool
func (*ProductStatus) ProtoMessage ¶
func (*ProductStatus) ProtoMessage()
func (*ProductStatus) ProtoReflect ¶
func (x *ProductStatus) ProtoReflect() protoreflect.Message
func (*ProductStatus) Reset ¶
func (x *ProductStatus) Reset()
func (*ProductStatus) String ¶
func (x *ProductStatus) String() string
func (*ProductStatus) Validate ¶
func (m *ProductStatus) Validate() error
Validate checks the field values on ProductStatus with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProductStatus) ValidateAll ¶
func (m *ProductStatus) ValidateAll() error
ValidateAll checks the field values on ProductStatus with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProductStatusMultiError, or nil if none found.
type ProductStatusMultiError ¶
type ProductStatusMultiError []error
ProductStatusMultiError is an error wrapping multiple validation errors returned by ProductStatus.ValidateAll() if the designated constraints aren't met.
func (ProductStatusMultiError) AllErrors ¶
func (m ProductStatusMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProductStatusMultiError) Error ¶
func (m ProductStatusMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProductStatusValidationError ¶
type ProductStatusValidationError struct {
// contains filtered or unexported fields
}
ProductStatusValidationError is the validation error returned by ProductStatus.Validate if the designated constraints aren't met.
func (ProductStatusValidationError) Cause ¶
func (e ProductStatusValidationError) Cause() error
Cause function returns cause value.
func (ProductStatusValidationError) Error ¶
func (e ProductStatusValidationError) Error() string
Error satisfies the builtin error interface
func (ProductStatusValidationError) ErrorName ¶
func (e ProductStatusValidationError) ErrorName() string
ErrorName returns error name.
func (ProductStatusValidationError) Field ¶
func (e ProductStatusValidationError) Field() string
Field function returns field value.
func (ProductStatusValidationError) Key ¶
func (e ProductStatusValidationError) Key() bool
Key function returns key value.
func (ProductStatusValidationError) Reason ¶
func (e ProductStatusValidationError) Reason() string
Reason function returns reason value.
type ProductTerminalInfo ¶ added in v0.0.48
type ProductTerminalInfo struct { // 产品终端Id Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 产品Id ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // 区域Id RegionId uint64 `protobuf:"varint,3,opt,name=region_id,json=regionId,proto3" json:"region_id,omitempty"` // 终端ID TerminalId uint64 `protobuf:"varint,4,opt,name=terminal_id,json=terminalId,proto3" json:"terminal_id,omitempty"` // 创建时间 CreatedAt string `protobuf:"bytes,5,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 最后编辑时间 UpdatedAt string `protobuf:"bytes,6,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 最后删除时间 DeletedAt string `protobuf:"bytes,7,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*ProductTerminalInfo) Descriptor
deprecated
added in
v0.0.48
func (*ProductTerminalInfo) Descriptor() ([]byte, []int)
Deprecated: Use ProductTerminalInfo.ProtoReflect.Descriptor instead.
func (*ProductTerminalInfo) GetCreatedAt ¶ added in v0.0.60
func (x *ProductTerminalInfo) GetCreatedAt() string
func (*ProductTerminalInfo) GetDeletedAt ¶ added in v0.0.60
func (x *ProductTerminalInfo) GetDeletedAt() string
func (*ProductTerminalInfo) GetId ¶ added in v0.0.48
func (x *ProductTerminalInfo) GetId() uint64
func (*ProductTerminalInfo) GetProductId ¶ added in v0.0.48
func (x *ProductTerminalInfo) GetProductId() uint64
func (*ProductTerminalInfo) GetRegionId ¶ added in v0.0.48
func (x *ProductTerminalInfo) GetRegionId() uint64
func (*ProductTerminalInfo) GetTerminalId ¶ added in v0.0.48
func (x *ProductTerminalInfo) GetTerminalId() uint64
func (*ProductTerminalInfo) GetUpdatedAt ¶ added in v0.0.60
func (x *ProductTerminalInfo) GetUpdatedAt() string
func (*ProductTerminalInfo) ProtoMessage ¶ added in v0.0.48
func (*ProductTerminalInfo) ProtoMessage()
func (*ProductTerminalInfo) ProtoReflect ¶ added in v0.0.48
func (x *ProductTerminalInfo) ProtoReflect() protoreflect.Message
func (*ProductTerminalInfo) Reset ¶ added in v0.0.48
func (x *ProductTerminalInfo) Reset()
func (*ProductTerminalInfo) String ¶ added in v0.0.48
func (x *ProductTerminalInfo) String() string
func (*ProductTerminalInfo) Validate ¶ added in v0.0.48
func (m *ProductTerminalInfo) Validate() error
Validate checks the field values on ProductTerminalInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*ProductTerminalInfo) ValidateAll ¶ added in v0.0.48
func (m *ProductTerminalInfo) ValidateAll() error
ValidateAll checks the field values on ProductTerminalInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in ProductTerminalInfoMultiError, or nil if none found.
type ProductTerminalInfoMultiError ¶ added in v0.0.48
type ProductTerminalInfoMultiError []error
ProductTerminalInfoMultiError is an error wrapping multiple validation errors returned by ProductTerminalInfo.ValidateAll() if the designated constraints aren't met.
func (ProductTerminalInfoMultiError) AllErrors ¶ added in v0.0.48
func (m ProductTerminalInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (ProductTerminalInfoMultiError) Error ¶ added in v0.0.48
func (m ProductTerminalInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type ProductTerminalInfoValidationError ¶ added in v0.0.48
type ProductTerminalInfoValidationError struct {
// contains filtered or unexported fields
}
ProductTerminalInfoValidationError is the validation error returned by ProductTerminalInfo.Validate if the designated constraints aren't met.
func (ProductTerminalInfoValidationError) Cause ¶ added in v0.0.48
func (e ProductTerminalInfoValidationError) Cause() error
Cause function returns cause value.
func (ProductTerminalInfoValidationError) Error ¶ added in v0.0.48
func (e ProductTerminalInfoValidationError) Error() string
Error satisfies the builtin error interface
func (ProductTerminalInfoValidationError) ErrorName ¶ added in v0.0.48
func (e ProductTerminalInfoValidationError) ErrorName() string
ErrorName returns error name.
func (ProductTerminalInfoValidationError) Field ¶ added in v0.0.48
func (e ProductTerminalInfoValidationError) Field() string
Field function returns field value.
func (ProductTerminalInfoValidationError) Key ¶ added in v0.0.48
func (e ProductTerminalInfoValidationError) Key() bool
Key function returns key value.
func (ProductTerminalInfoValidationError) Reason ¶ added in v0.0.48
func (e ProductTerminalInfoValidationError) Reason() string
Reason function returns reason value.
type RegionInfo ¶ added in v0.0.48
type RegionInfo struct { // 区域Id Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` // 产品Id ProductId uint64 `protobuf:"varint,2,opt,name=product_id,json=productId,proto3" json:"product_id,omitempty"` // 区域名称 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // 国家编码 Country string `protobuf:"bytes,4,opt,name=country,proto3" json:"country,omitempty"` // 单价 Price uint64 `protobuf:"varint,5,opt,name=price,proto3" json:"price,omitempty"` // 阶梯价格 Step string `protobuf:"bytes,6,opt,name=step,proto3" json:"step,omitempty"` // 排序 Sort uint64 `protobuf:"varint,7,opt,name=sort,proto3" json:"sort,omitempty"` // 创建时间 CreatedAt string `protobuf:"bytes,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 最后编辑时间 UpdatedAt string `protobuf:"bytes,9,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 最后删除时间 DeletedAt string `protobuf:"bytes,10,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*RegionInfo) Descriptor
deprecated
added in
v0.0.48
func (*RegionInfo) Descriptor() ([]byte, []int)
Deprecated: Use RegionInfo.ProtoReflect.Descriptor instead.
func (*RegionInfo) GetCountry ¶ added in v0.0.48
func (x *RegionInfo) GetCountry() string
func (*RegionInfo) GetCreatedAt ¶ added in v0.0.60
func (x *RegionInfo) GetCreatedAt() string
func (*RegionInfo) GetDeletedAt ¶ added in v0.0.60
func (x *RegionInfo) GetDeletedAt() string
func (*RegionInfo) GetId ¶ added in v0.0.48
func (x *RegionInfo) GetId() uint64
func (*RegionInfo) GetName ¶ added in v0.0.48
func (x *RegionInfo) GetName() string
func (*RegionInfo) GetPrice ¶ added in v0.0.48
func (x *RegionInfo) GetPrice() uint64
func (*RegionInfo) GetProductId ¶ added in v0.0.48
func (x *RegionInfo) GetProductId() uint64
func (*RegionInfo) GetSort ¶ added in v0.0.48
func (x *RegionInfo) GetSort() uint64
func (*RegionInfo) GetStep ¶ added in v0.0.48
func (x *RegionInfo) GetStep() string
func (*RegionInfo) GetUpdatedAt ¶ added in v0.0.60
func (x *RegionInfo) GetUpdatedAt() string
func (*RegionInfo) ProtoMessage ¶ added in v0.0.48
func (*RegionInfo) ProtoMessage()
func (*RegionInfo) ProtoReflect ¶ added in v0.0.48
func (x *RegionInfo) ProtoReflect() protoreflect.Message
func (*RegionInfo) Reset ¶ added in v0.0.48
func (x *RegionInfo) Reset()
func (*RegionInfo) String ¶ added in v0.0.48
func (x *RegionInfo) String() string
func (*RegionInfo) Validate ¶ added in v0.0.48
func (m *RegionInfo) Validate() error
Validate checks the field values on RegionInfo with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*RegionInfo) ValidateAll ¶ added in v0.0.48
func (m *RegionInfo) ValidateAll() error
ValidateAll checks the field values on RegionInfo with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in RegionInfoMultiError, or nil if none found.
type RegionInfoMultiError ¶ added in v0.0.48
type RegionInfoMultiError []error
RegionInfoMultiError is an error wrapping multiple validation errors returned by RegionInfo.ValidateAll() if the designated constraints aren't met.
func (RegionInfoMultiError) AllErrors ¶ added in v0.0.48
func (m RegionInfoMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (RegionInfoMultiError) Error ¶ added in v0.0.48
func (m RegionInfoMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type RegionInfoValidationError ¶ added in v0.0.48
type RegionInfoValidationError struct {
// contains filtered or unexported fields
}
RegionInfoValidationError is the validation error returned by RegionInfo.Validate if the designated constraints aren't met.
func (RegionInfoValidationError) Cause ¶ added in v0.0.48
func (e RegionInfoValidationError) Cause() error
Cause function returns cause value.
func (RegionInfoValidationError) Error ¶ added in v0.0.48
func (e RegionInfoValidationError) Error() string
Error satisfies the builtin error interface
func (RegionInfoValidationError) ErrorName ¶ added in v0.0.48
func (e RegionInfoValidationError) ErrorName() string
ErrorName returns error name.
func (RegionInfoValidationError) Field ¶ added in v0.0.48
func (e RegionInfoValidationError) Field() string
Field function returns field value.
func (RegionInfoValidationError) Key ¶ added in v0.0.48
func (e RegionInfoValidationError) Key() bool
Key function returns key value.
func (RegionInfoValidationError) Reason ¶ added in v0.0.48
func (e RegionInfoValidationError) Reason() string
Reason function returns reason value.
type Terminal ¶
type Terminal struct { // 终端名称 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // 关键字 Keywords string `protobuf:"bytes,2,opt,name=keywords,proto3" json:"keywords,omitempty"` // 简介 Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // 图片 Img string `protobuf:"bytes,4,opt,name=img,proto3" json:"img,omitempty"` // 排序 Sort uint64 `protobuf:"varint,5,opt,name=sort,proto3" json:"sort,omitempty"` // 创建时间 CreatedAt string `protobuf:"bytes,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"` // 最后编辑时间 UpdatedAt string `protobuf:"bytes,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty"` // 最后删除时间 DeletedAt string `protobuf:"bytes,8,opt,name=deleted_at,json=deletedAt,proto3" json:"deleted_at,omitempty"` // contains filtered or unexported fields }
func (*Terminal) Descriptor
deprecated
func (*Terminal) GetCreatedAt ¶ added in v0.0.60
func (*Terminal) GetDeletedAt ¶ added in v0.0.60
func (*Terminal) GetDescription ¶
func (*Terminal) GetKeywords ¶
func (*Terminal) GetUpdatedAt ¶ added in v0.0.60
func (*Terminal) ProtoMessage ¶
func (*Terminal) ProtoMessage()
func (*Terminal) ProtoReflect ¶
func (x *Terminal) ProtoReflect() protoreflect.Message
func (*Terminal) Validate ¶
Validate checks the field values on Terminal with the rules defined in the proto definition for this message. If any rules are violated, the first error encountered is returned, or nil if there are no violations.
func (*Terminal) ValidateAll ¶
ValidateAll checks the field values on Terminal with the rules defined in the proto definition for this message. If any rules are violated, the result is a list of violation errors wrapped in TerminalMultiError, or nil if none found.
type TerminalMultiError ¶
type TerminalMultiError []error
TerminalMultiError is an error wrapping multiple validation errors returned by Terminal.ValidateAll() if the designated constraints aren't met.
func (TerminalMultiError) AllErrors ¶
func (m TerminalMultiError) AllErrors() []error
AllErrors returns a list of validation violation errors.
func (TerminalMultiError) Error ¶
func (m TerminalMultiError) Error() string
Error returns a concatenation of all the error messages it wraps.
type TerminalValidationError ¶
type TerminalValidationError struct {
// contains filtered or unexported fields
}
TerminalValidationError is the validation error returned by Terminal.Validate if the designated constraints aren't met.
func (TerminalValidationError) Cause ¶
func (e TerminalValidationError) Cause() error
Cause function returns cause value.
func (TerminalValidationError) Error ¶
func (e TerminalValidationError) Error() string
Error satisfies the builtin error interface
func (TerminalValidationError) ErrorName ¶
func (e TerminalValidationError) ErrorName() string
ErrorName returns error name.
func (TerminalValidationError) Field ¶
func (e TerminalValidationError) Field() string
Field function returns field value.
func (TerminalValidationError) Key ¶
func (e TerminalValidationError) Key() bool
Key function returns key value.
func (TerminalValidationError) Reason ¶
func (e TerminalValidationError) Reason() string
Reason function returns reason value.
type UnimplementedProductServer ¶
type UnimplementedProductServer struct { }
UnimplementedProductServer must be embedded to have forward compatible implementations.
func (UnimplementedProductServer) CreateAttribute ¶ added in v0.0.64
func (UnimplementedProductServer) CreateAttribute(context.Context, *CreateAttributeReq) (*ProductStatus, error)
func (UnimplementedProductServer) CreateCategory ¶ added in v0.0.48
func (UnimplementedProductServer) CreateCategory(context.Context, *CreateCategoryReq) (*ProductStatus, error)
func (UnimplementedProductServer) CreateKind ¶
func (UnimplementedProductServer) CreateKind(context.Context, *CreateKindReq) (*ProductStatus, error)
func (UnimplementedProductServer) CreateProduct ¶
func (UnimplementedProductServer) CreateProduct(context.Context, *CreateProductReq) (*ProductStatus, error)
func (UnimplementedProductServer) CreateProductInfo ¶ added in v0.0.48
func (UnimplementedProductServer) CreateProductInfo(context.Context, *CreateProductInfoReq) (*ProductStatus, error)
func (UnimplementedProductServer) CreateProductTerminal ¶ added in v0.0.48
func (UnimplementedProductServer) CreateProductTerminal(context.Context, *CreateProductTerminalReq) (*ProductStatus, error)
func (UnimplementedProductServer) CreateRegion ¶ added in v0.0.48
func (UnimplementedProductServer) CreateRegion(context.Context, *CreateRegionReq) (*ProductStatus, error)
func (UnimplementedProductServer) CreateTerminal ¶
func (UnimplementedProductServer) CreateTerminal(context.Context, *CreateTerminalReq) (*ProductStatus, error)
func (UnimplementedProductServer) DelAttribute ¶ added in v0.0.64
func (UnimplementedProductServer) DelAttribute(context.Context, *DelIdReq) (*ProductStatus, error)
func (UnimplementedProductServer) DelCategory ¶ added in v0.0.48
func (UnimplementedProductServer) DelCategory(context.Context, *DelIdReq) (*ProductStatus, error)
func (UnimplementedProductServer) DelKind ¶
func (UnimplementedProductServer) DelKind(context.Context, *DelIdReq) (*ProductStatus, error)
func (UnimplementedProductServer) DelProduct ¶
func (UnimplementedProductServer) DelProduct(context.Context, *DelIdReq) (*ProductStatus, error)
func (UnimplementedProductServer) DelProductInfo ¶ added in v0.0.48
func (UnimplementedProductServer) DelProductInfo(context.Context, *DelIdReq) (*ProductStatus, error)
func (UnimplementedProductServer) DelProductTerminal ¶ added in v0.0.48
func (UnimplementedProductServer) DelProductTerminal(context.Context, *DelIdReq) (*ProductStatus, error)
func (UnimplementedProductServer) DelRegion ¶ added in v0.0.48
func (UnimplementedProductServer) DelRegion(context.Context, *DelIdReq) (*ProductStatus, error)
func (UnimplementedProductServer) DelTerminal ¶
func (UnimplementedProductServer) DelTerminal(context.Context, *DelIdReq) (*ProductStatus, error)
func (UnimplementedProductServer) EditAttribute ¶ added in v0.0.64
func (UnimplementedProductServer) EditAttribute(context.Context, *EditAttributeReq) (*ProductStatus, error)
func (UnimplementedProductServer) EditCategory ¶ added in v0.0.48
func (UnimplementedProductServer) EditCategory(context.Context, *EditCategoryReq) (*ProductStatus, error)
func (UnimplementedProductServer) EditKind ¶
func (UnimplementedProductServer) EditKind(context.Context, *EditKindReq) (*ProductStatus, error)
func (UnimplementedProductServer) EditProduct ¶
func (UnimplementedProductServer) EditProduct(context.Context, *EditProductReq) (*ProductStatus, error)
func (UnimplementedProductServer) EditProductInfo ¶ added in v0.0.48
func (UnimplementedProductServer) EditProductInfo(context.Context, *EditProductInfoReq) (*ProductStatus, error)
func (UnimplementedProductServer) EditProductTerminal ¶ added in v0.0.48
func (UnimplementedProductServer) EditProductTerminal(context.Context, *EditProductTerminalReq) (*ProductStatus, error)
func (UnimplementedProductServer) EditRegion ¶ added in v0.0.48
func (UnimplementedProductServer) EditRegion(context.Context, *EditRegionReq) (*ProductStatus, error)
func (UnimplementedProductServer) EditTerminal ¶
func (UnimplementedProductServer) EditTerminal(context.Context, *EditTerminalReq) (*ProductStatus, error)
func (UnimplementedProductServer) GetAttribute ¶ added in v0.0.64
func (UnimplementedProductServer) GetCategory ¶ added in v0.0.48
func (UnimplementedProductServer) GetCategory(context.Context, *CategoryInfo) (*CategoryInfo, error)
func (UnimplementedProductServer) GetProduct ¶ added in v0.0.48
func (UnimplementedProductServer) GetProduct(context.Context, *ProductInfo) (*ProductInfo, error)
func (UnimplementedProductServer) GetProductInfo ¶ added in v0.0.48
func (UnimplementedProductServer) GetProductInfo(context.Context, *ProductInfoInfo) (*ProductInfoInfo, error)
func (UnimplementedProductServer) GetProductTerminalInfo ¶ added in v0.0.48
func (UnimplementedProductServer) GetProductTerminalInfo(context.Context, *ProductTerminalInfo) (*ProductTerminalInfo, error)
func (UnimplementedProductServer) GetRegion ¶ added in v0.0.48
func (UnimplementedProductServer) GetRegion(context.Context, *RegionInfo) (*RegionInfo, error)
func (UnimplementedProductServer) GetTerminal ¶
func (UnimplementedProductServer) ListAttribute ¶ added in v0.0.64
func (UnimplementedProductServer) ListAttribute(context.Context, *Attribute) (*ListAttributeRep, error)
func (UnimplementedProductServer) ListCategory ¶ added in v0.0.48
func (UnimplementedProductServer) ListCategory(context.Context, *CategoryInfo) (*ListCategoryRep, error)
func (UnimplementedProductServer) ListKind ¶
func (UnimplementedProductServer) ListKind(context.Context, *Kind) (*ListKindRep, error)
func (UnimplementedProductServer) ListProduct ¶
func (UnimplementedProductServer) ListProduct(context.Context, *ProductInfo) (*ListProductRep, error)
func (UnimplementedProductServer) ListProductInfo ¶ added in v0.0.48
func (UnimplementedProductServer) ListProductInfo(context.Context, *ProductInfoInfo) (*ListProductInfoRep, error)
func (UnimplementedProductServer) ListProductTerminal ¶ added in v0.0.48
func (UnimplementedProductServer) ListProductTerminal(context.Context, *ProductTerminalInfo) (*ListProductTerminalInfoRep, error)
func (UnimplementedProductServer) ListRegion ¶ added in v0.0.48
func (UnimplementedProductServer) ListRegion(context.Context, *RegionInfo) (*ListRegionRep, error)
func (UnimplementedProductServer) ListTerminal ¶
func (UnimplementedProductServer) ListTerminal(context.Context, *Terminal) (*ListTerminalRep, error)
func (UnimplementedProductServer) PageListAttribute ¶ added in v0.0.64
func (UnimplementedProductServer) PageListAttribute(context.Context, *PageListAttributeReq) (*PageListAttributeRep, error)
func (UnimplementedProductServer) PageListCategory ¶ added in v0.0.48
func (UnimplementedProductServer) PageListCategory(context.Context, *PageListCategoryReq) (*PageListCategoryRep, error)
func (UnimplementedProductServer) PageListKind ¶
func (UnimplementedProductServer) PageListKind(context.Context, *PageListKindReq) (*PageListKindRep, error)
func (UnimplementedProductServer) PageListProduct ¶ added in v0.0.48
func (UnimplementedProductServer) PageListProduct(context.Context, *PageListProductReq) (*PageListProductRep, error)
func (UnimplementedProductServer) PageListProductInfo ¶ added in v0.0.48
func (UnimplementedProductServer) PageListProductInfo(context.Context, *PageListProductInfoReq) (*PageListProductInfoRep, error)
func (UnimplementedProductServer) PageListRegion ¶ added in v0.0.48
func (UnimplementedProductServer) PageListRegion(context.Context, *PageListRegionReq) (*PageListRegionRep, error)
func (UnimplementedProductServer) PageListTerminal ¶
func (UnimplementedProductServer) PageListTerminal(context.Context, *PageListTerminalReq) (*PageListTerminalRep, error)
func (UnimplementedProductServer) PageProductTerminal ¶ added in v0.0.48
func (UnimplementedProductServer) PageProductTerminal(context.Context, *PageListProductTerminalReq) (*PageListProductTerminalRep, error)
type UnsafeProductServer ¶
type UnsafeProductServer interface {
// contains filtered or unexported methods
}
UnsafeProductServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to ProductServer will result in compilation errors.