Documentation ¶
Index ¶
- func NewProductManagerServiceEndpoints() []*api.Endpoint
- func RegisterProductManagerServiceHandler(s server.Server, hdlr ProductManagerServiceHandler, ...) error
- type CreateProductManagerRequest
- func (*CreateProductManagerRequest) Descriptor() ([]byte, []int)
- func (m *CreateProductManagerRequest) GetData() *product.ProductAdminItem
- func (*CreateProductManagerRequest) ProtoMessage()
- func (m *CreateProductManagerRequest) Reset()
- func (m *CreateProductManagerRequest) String() string
- func (m *CreateProductManagerRequest) Validate() error
- func (m *CreateProductManagerRequest) XXX_DiscardUnknown()
- func (m *CreateProductManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateProductManagerRequest) XXX_Merge(src proto.Message)
- func (m *CreateProductManagerRequest) XXX_Size() int
- func (m *CreateProductManagerRequest) XXX_Unmarshal(b []byte) error
- type CreateProductManagerRequestValidationError
- func (e CreateProductManagerRequestValidationError) Cause() error
- func (e CreateProductManagerRequestValidationError) Error() string
- func (e CreateProductManagerRequestValidationError) ErrorName() string
- func (e CreateProductManagerRequestValidationError) Field() string
- func (e CreateProductManagerRequestValidationError) Key() bool
- func (e CreateProductManagerRequestValidationError) Reason() string
- type CreateProductManagerResponse
- func (*CreateProductManagerResponse) Descriptor() ([]byte, []int)
- func (m *CreateProductManagerResponse) GetUuid() string
- func (*CreateProductManagerResponse) ProtoMessage()
- func (m *CreateProductManagerResponse) Reset()
- func (m *CreateProductManagerResponse) String() string
- func (m *CreateProductManagerResponse) Validate() error
- func (m *CreateProductManagerResponse) XXX_DiscardUnknown()
- func (m *CreateProductManagerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *CreateProductManagerResponse) XXX_Merge(src proto.Message)
- func (m *CreateProductManagerResponse) XXX_Size() int
- func (m *CreateProductManagerResponse) XXX_Unmarshal(b []byte) error
- type CreateProductManagerResponseValidationError
- func (e CreateProductManagerResponseValidationError) Cause() error
- func (e CreateProductManagerResponseValidationError) Error() string
- func (e CreateProductManagerResponseValidationError) ErrorName() string
- func (e CreateProductManagerResponseValidationError) Field() string
- func (e CreateProductManagerResponseValidationError) Key() bool
- func (e CreateProductManagerResponseValidationError) Reason() string
- type DeleteProductManagerRequest
- func (*DeleteProductManagerRequest) Descriptor() ([]byte, []int)
- func (m *DeleteProductManagerRequest) GetIsSoft() bool
- func (m *DeleteProductManagerRequest) GetUuid() string
- func (*DeleteProductManagerRequest) ProtoMessage()
- func (m *DeleteProductManagerRequest) Reset()
- func (m *DeleteProductManagerRequest) String() string
- func (m *DeleteProductManagerRequest) Validate() error
- func (m *DeleteProductManagerRequest) XXX_DiscardUnknown()
- func (m *DeleteProductManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DeleteProductManagerRequest) XXX_Merge(src proto.Message)
- func (m *DeleteProductManagerRequest) XXX_Size() int
- func (m *DeleteProductManagerRequest) XXX_Unmarshal(b []byte) error
- type DeleteProductManagerRequestValidationError
- func (e DeleteProductManagerRequestValidationError) Cause() error
- func (e DeleteProductManagerRequestValidationError) Error() string
- func (e DeleteProductManagerRequestValidationError) ErrorName() string
- func (e DeleteProductManagerRequestValidationError) Field() string
- func (e DeleteProductManagerRequestValidationError) Key() bool
- func (e DeleteProductManagerRequestValidationError) Reason() string
- type GetProductManagerRequest
- func (*GetProductManagerRequest) Descriptor() ([]byte, []int)
- func (m *GetProductManagerRequest) GetUuid() string
- func (*GetProductManagerRequest) ProtoMessage()
- func (m *GetProductManagerRequest) Reset()
- func (m *GetProductManagerRequest) String() string
- func (m *GetProductManagerRequest) Validate() error
- func (m *GetProductManagerRequest) XXX_DiscardUnknown()
- func (m *GetProductManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProductManagerRequest) XXX_Merge(src proto.Message)
- func (m *GetProductManagerRequest) XXX_Size() int
- func (m *GetProductManagerRequest) XXX_Unmarshal(b []byte) error
- type GetProductManagerRequestValidationError
- func (e GetProductManagerRequestValidationError) Cause() error
- func (e GetProductManagerRequestValidationError) Error() string
- func (e GetProductManagerRequestValidationError) ErrorName() string
- func (e GetProductManagerRequestValidationError) Field() string
- func (e GetProductManagerRequestValidationError) Key() bool
- func (e GetProductManagerRequestValidationError) Reason() string
- type GetProductManagerResponse
- func (*GetProductManagerResponse) Descriptor() ([]byte, []int)
- func (m *GetProductManagerResponse) GetData() *product.ProductAdminItem
- func (*GetProductManagerResponse) ProtoMessage()
- func (m *GetProductManagerResponse) Reset()
- func (m *GetProductManagerResponse) String() string
- func (m *GetProductManagerResponse) Validate() error
- func (m *GetProductManagerResponse) XXX_DiscardUnknown()
- func (m *GetProductManagerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GetProductManagerResponse) XXX_Merge(src proto.Message)
- func (m *GetProductManagerResponse) XXX_Size() int
- func (m *GetProductManagerResponse) XXX_Unmarshal(b []byte) error
- type GetProductManagerResponseValidationError
- func (e GetProductManagerResponseValidationError) Cause() error
- func (e GetProductManagerResponseValidationError) Error() string
- func (e GetProductManagerResponseValidationError) ErrorName() string
- func (e GetProductManagerResponseValidationError) Field() string
- func (e GetProductManagerResponseValidationError) Key() bool
- func (e GetProductManagerResponseValidationError) Reason() string
- type PaginateProductManagerRequest
- func (*PaginateProductManagerRequest) Descriptor() ([]byte, []int)
- func (m *PaginateProductManagerRequest) GetFilter() *PaginateProductManagerRequest_Filter
- func (m *PaginateProductManagerRequest) GetLimit() int64
- func (m *PaginateProductManagerRequest) GetSkip() int64
- func (m *PaginateProductManagerRequest) GetSort() string
- func (*PaginateProductManagerRequest) ProtoMessage()
- func (m *PaginateProductManagerRequest) Reset()
- func (m *PaginateProductManagerRequest) String() string
- func (m *PaginateProductManagerRequest) Validate() error
- func (m *PaginateProductManagerRequest) XXX_DiscardUnknown()
- func (m *PaginateProductManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaginateProductManagerRequest) XXX_Merge(src proto.Message)
- func (m *PaginateProductManagerRequest) XXX_Size() int
- func (m *PaginateProductManagerRequest) XXX_Unmarshal(b []byte) error
- type PaginateProductManagerRequestValidationError
- func (e PaginateProductManagerRequestValidationError) Cause() error
- func (e PaginateProductManagerRequestValidationError) Error() string
- func (e PaginateProductManagerRequestValidationError) ErrorName() string
- func (e PaginateProductManagerRequestValidationError) Field() string
- func (e PaginateProductManagerRequestValidationError) Key() bool
- func (e PaginateProductManagerRequestValidationError) Reason() string
- type PaginateProductManagerRequest_Filter
- func (*PaginateProductManagerRequest_Filter) Descriptor() ([]byte, []int)
- func (m *PaginateProductManagerRequest_Filter) GetAncestorUuid() string
- func (m *PaginateProductManagerRequest_Filter) GetCategoryUuid() string
- func (m *PaginateProductManagerRequest_Filter) GetIsActive() shared.NullableBool
- func (m *PaginateProductManagerRequest_Filter) GetIsDeleted() shared.NullableBool
- func (*PaginateProductManagerRequest_Filter) ProtoMessage()
- func (m *PaginateProductManagerRequest_Filter) Reset()
- func (m *PaginateProductManagerRequest_Filter) String() string
- func (m *PaginateProductManagerRequest_Filter) Validate() error
- func (m *PaginateProductManagerRequest_Filter) XXX_DiscardUnknown()
- func (m *PaginateProductManagerRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaginateProductManagerRequest_Filter) XXX_Merge(src proto.Message)
- func (m *PaginateProductManagerRequest_Filter) XXX_Size() int
- func (m *PaginateProductManagerRequest_Filter) XXX_Unmarshal(b []byte) error
- type PaginateProductManagerRequest_FilterValidationError
- func (e PaginateProductManagerRequest_FilterValidationError) Cause() error
- func (e PaginateProductManagerRequest_FilterValidationError) Error() string
- func (e PaginateProductManagerRequest_FilterValidationError) ErrorName() string
- func (e PaginateProductManagerRequest_FilterValidationError) Field() string
- func (e PaginateProductManagerRequest_FilterValidationError) Key() bool
- func (e PaginateProductManagerRequest_FilterValidationError) Reason() string
- type PaginateProductManagerResponse
- func (*PaginateProductManagerResponse) Descriptor() ([]byte, []int)
- func (m *PaginateProductManagerResponse) GetData() []*product.ProductAdminItem
- func (m *PaginateProductManagerResponse) GetLimit() int64
- func (m *PaginateProductManagerResponse) GetSkip() int64
- func (m *PaginateProductManagerResponse) GetTotal() int64
- func (*PaginateProductManagerResponse) ProtoMessage()
- func (m *PaginateProductManagerResponse) Reset()
- func (m *PaginateProductManagerResponse) String() string
- func (m *PaginateProductManagerResponse) Validate() error
- func (m *PaginateProductManagerResponse) XXX_DiscardUnknown()
- func (m *PaginateProductManagerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PaginateProductManagerResponse) XXX_Merge(src proto.Message)
- func (m *PaginateProductManagerResponse) XXX_Size() int
- func (m *PaginateProductManagerResponse) XXX_Unmarshal(b []byte) error
- type PaginateProductManagerResponseValidationError
- func (e PaginateProductManagerResponseValidationError) Cause() error
- func (e PaginateProductManagerResponseValidationError) Error() string
- func (e PaginateProductManagerResponseValidationError) ErrorName() string
- func (e PaginateProductManagerResponseValidationError) Field() string
- func (e PaginateProductManagerResponseValidationError) Key() bool
- func (e PaginateProductManagerResponseValidationError) Reason() string
- type ProductManagerService
- type ProductManagerServiceHandler
- type UpdateProductManagerRequest
- func (*UpdateProductManagerRequest) Descriptor() ([]byte, []int)
- func (m *UpdateProductManagerRequest) GetData() *product.ProductAdminItem
- func (*UpdateProductManagerRequest) ProtoMessage()
- func (m *UpdateProductManagerRequest) Reset()
- func (m *UpdateProductManagerRequest) String() string
- func (m *UpdateProductManagerRequest) Validate() error
- func (m *UpdateProductManagerRequest) XXX_DiscardUnknown()
- func (m *UpdateProductManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UpdateProductManagerRequest) XXX_Merge(src proto.Message)
- func (m *UpdateProductManagerRequest) XXX_Size() int
- func (m *UpdateProductManagerRequest) XXX_Unmarshal(b []byte) error
- type UpdateProductManagerRequestValidationError
- func (e UpdateProductManagerRequestValidationError) Cause() error
- func (e UpdateProductManagerRequestValidationError) Error() string
- func (e UpdateProductManagerRequestValidationError) ErrorName() string
- func (e UpdateProductManagerRequestValidationError) Field() string
- func (e UpdateProductManagerRequestValidationError) Key() bool
- func (e UpdateProductManagerRequestValidationError) Reason() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func RegisterProductManagerServiceHandler ¶
func RegisterProductManagerServiceHandler(s server.Server, hdlr ProductManagerServiceHandler, opts ...server.HandlerOption) error
Types ¶
type CreateProductManagerRequest ¶
type CreateProductManagerRequest struct {
Data *product.ProductAdminItem `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
}
func (*CreateProductManagerRequest) Descriptor ¶
func (*CreateProductManagerRequest) Descriptor() ([]byte, []int)
func (*CreateProductManagerRequest) GetData ¶
func (m *CreateProductManagerRequest) GetData() *product.ProductAdminItem
func (*CreateProductManagerRequest) ProtoMessage ¶
func (*CreateProductManagerRequest) ProtoMessage()
func (*CreateProductManagerRequest) Reset ¶
func (m *CreateProductManagerRequest) Reset()
func (*CreateProductManagerRequest) String ¶
func (m *CreateProductManagerRequest) String() string
func (*CreateProductManagerRequest) Validate ¶
func (m *CreateProductManagerRequest) Validate() error
Validate checks the field values on CreateProductManagerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CreateProductManagerRequest) XXX_DiscardUnknown ¶
func (m *CreateProductManagerRequest) XXX_DiscardUnknown()
func (*CreateProductManagerRequest) XXX_Marshal ¶
func (m *CreateProductManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateProductManagerRequest) XXX_Merge ¶
func (m *CreateProductManagerRequest) XXX_Merge(src proto.Message)
func (*CreateProductManagerRequest) XXX_Size ¶
func (m *CreateProductManagerRequest) XXX_Size() int
func (*CreateProductManagerRequest) XXX_Unmarshal ¶
func (m *CreateProductManagerRequest) XXX_Unmarshal(b []byte) error
type CreateProductManagerRequestValidationError ¶
type CreateProductManagerRequestValidationError struct {
// contains filtered or unexported fields
}
CreateProductManagerRequestValidationError is the validation error returned by CreateProductManagerRequest.Validate if the designated constraints aren't met.
func (CreateProductManagerRequestValidationError) Cause ¶
func (e CreateProductManagerRequestValidationError) Cause() error
Cause function returns cause value.
func (CreateProductManagerRequestValidationError) Error ¶
func (e CreateProductManagerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProductManagerRequestValidationError) ErrorName ¶
func (e CreateProductManagerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProductManagerRequestValidationError) Field ¶
func (e CreateProductManagerRequestValidationError) Field() string
Field function returns field value.
func (CreateProductManagerRequestValidationError) Key ¶
func (e CreateProductManagerRequestValidationError) Key() bool
Key function returns key value.
func (CreateProductManagerRequestValidationError) Reason ¶
func (e CreateProductManagerRequestValidationError) Reason() string
Reason function returns reason value.
type CreateProductManagerResponse ¶
type CreateProductManagerResponse struct {
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"`
}
func (*CreateProductManagerResponse) Descriptor ¶
func (*CreateProductManagerResponse) Descriptor() ([]byte, []int)
func (*CreateProductManagerResponse) GetUuid ¶
func (m *CreateProductManagerResponse) GetUuid() string
func (*CreateProductManagerResponse) ProtoMessage ¶
func (*CreateProductManagerResponse) ProtoMessage()
func (*CreateProductManagerResponse) Reset ¶
func (m *CreateProductManagerResponse) Reset()
func (*CreateProductManagerResponse) String ¶
func (m *CreateProductManagerResponse) String() string
func (*CreateProductManagerResponse) Validate ¶
func (m *CreateProductManagerResponse) Validate() error
Validate checks the field values on CreateProductManagerResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*CreateProductManagerResponse) XXX_DiscardUnknown ¶
func (m *CreateProductManagerResponse) XXX_DiscardUnknown()
func (*CreateProductManagerResponse) XXX_Marshal ¶
func (m *CreateProductManagerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*CreateProductManagerResponse) XXX_Merge ¶
func (m *CreateProductManagerResponse) XXX_Merge(src proto.Message)
func (*CreateProductManagerResponse) XXX_Size ¶
func (m *CreateProductManagerResponse) XXX_Size() int
func (*CreateProductManagerResponse) XXX_Unmarshal ¶
func (m *CreateProductManagerResponse) XXX_Unmarshal(b []byte) error
type CreateProductManagerResponseValidationError ¶
type CreateProductManagerResponseValidationError struct {
// contains filtered or unexported fields
}
CreateProductManagerResponseValidationError is the validation error returned by CreateProductManagerResponse.Validate if the designated constraints aren't met.
func (CreateProductManagerResponseValidationError) Cause ¶
func (e CreateProductManagerResponseValidationError) Cause() error
Cause function returns cause value.
func (CreateProductManagerResponseValidationError) Error ¶
func (e CreateProductManagerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (CreateProductManagerResponseValidationError) ErrorName ¶
func (e CreateProductManagerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (CreateProductManagerResponseValidationError) Field ¶
func (e CreateProductManagerResponseValidationError) Field() string
Field function returns field value.
func (CreateProductManagerResponseValidationError) Key ¶
func (e CreateProductManagerResponseValidationError) Key() bool
Key function returns key value.
func (CreateProductManagerResponseValidationError) Reason ¶
func (e CreateProductManagerResponseValidationError) Reason() string
Reason function returns reason value.
type DeleteProductManagerRequest ¶
type DeleteProductManagerRequest struct { Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"` IsSoft bool `protobuf:"varint,2,opt,name=is_soft,json=isSoft,proto3" json:"is_soft"` }
func (*DeleteProductManagerRequest) Descriptor ¶
func (*DeleteProductManagerRequest) Descriptor() ([]byte, []int)
func (*DeleteProductManagerRequest) GetIsSoft ¶
func (m *DeleteProductManagerRequest) GetIsSoft() bool
func (*DeleteProductManagerRequest) GetUuid ¶
func (m *DeleteProductManagerRequest) GetUuid() string
func (*DeleteProductManagerRequest) ProtoMessage ¶
func (*DeleteProductManagerRequest) ProtoMessage()
func (*DeleteProductManagerRequest) Reset ¶
func (m *DeleteProductManagerRequest) Reset()
func (*DeleteProductManagerRequest) String ¶
func (m *DeleteProductManagerRequest) String() string
func (*DeleteProductManagerRequest) Validate ¶
func (m *DeleteProductManagerRequest) Validate() error
Validate checks the field values on DeleteProductManagerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*DeleteProductManagerRequest) XXX_DiscardUnknown ¶
func (m *DeleteProductManagerRequest) XXX_DiscardUnknown()
func (*DeleteProductManagerRequest) XXX_Marshal ¶
func (m *DeleteProductManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*DeleteProductManagerRequest) XXX_Merge ¶
func (m *DeleteProductManagerRequest) XXX_Merge(src proto.Message)
func (*DeleteProductManagerRequest) XXX_Size ¶
func (m *DeleteProductManagerRequest) XXX_Size() int
func (*DeleteProductManagerRequest) XXX_Unmarshal ¶
func (m *DeleteProductManagerRequest) XXX_Unmarshal(b []byte) error
type DeleteProductManagerRequestValidationError ¶
type DeleteProductManagerRequestValidationError struct {
// contains filtered or unexported fields
}
DeleteProductManagerRequestValidationError is the validation error returned by DeleteProductManagerRequest.Validate if the designated constraints aren't met.
func (DeleteProductManagerRequestValidationError) Cause ¶
func (e DeleteProductManagerRequestValidationError) Cause() error
Cause function returns cause value.
func (DeleteProductManagerRequestValidationError) Error ¶
func (e DeleteProductManagerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (DeleteProductManagerRequestValidationError) ErrorName ¶
func (e DeleteProductManagerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (DeleteProductManagerRequestValidationError) Field ¶
func (e DeleteProductManagerRequestValidationError) Field() string
Field function returns field value.
func (DeleteProductManagerRequestValidationError) Key ¶
func (e DeleteProductManagerRequestValidationError) Key() bool
Key function returns key value.
func (DeleteProductManagerRequestValidationError) Reason ¶
func (e DeleteProductManagerRequestValidationError) Reason() string
Reason function returns reason value.
type GetProductManagerRequest ¶
type GetProductManagerRequest struct {
Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"`
}
func (*GetProductManagerRequest) Descriptor ¶
func (*GetProductManagerRequest) Descriptor() ([]byte, []int)
func (*GetProductManagerRequest) GetUuid ¶
func (m *GetProductManagerRequest) GetUuid() string
func (*GetProductManagerRequest) ProtoMessage ¶
func (*GetProductManagerRequest) ProtoMessage()
func (*GetProductManagerRequest) Reset ¶
func (m *GetProductManagerRequest) Reset()
func (*GetProductManagerRequest) String ¶
func (m *GetProductManagerRequest) String() string
func (*GetProductManagerRequest) Validate ¶
func (m *GetProductManagerRequest) Validate() error
Validate checks the field values on GetProductManagerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetProductManagerRequest) XXX_DiscardUnknown ¶
func (m *GetProductManagerRequest) XXX_DiscardUnknown()
func (*GetProductManagerRequest) XXX_Marshal ¶
func (m *GetProductManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProductManagerRequest) XXX_Merge ¶
func (m *GetProductManagerRequest) XXX_Merge(src proto.Message)
func (*GetProductManagerRequest) XXX_Size ¶
func (m *GetProductManagerRequest) XXX_Size() int
func (*GetProductManagerRequest) XXX_Unmarshal ¶
func (m *GetProductManagerRequest) XXX_Unmarshal(b []byte) error
type GetProductManagerRequestValidationError ¶
type GetProductManagerRequestValidationError struct {
// contains filtered or unexported fields
}
GetProductManagerRequestValidationError is the validation error returned by GetProductManagerRequest.Validate if the designated constraints aren't met.
func (GetProductManagerRequestValidationError) Cause ¶
func (e GetProductManagerRequestValidationError) Cause() error
Cause function returns cause value.
func (GetProductManagerRequestValidationError) Error ¶
func (e GetProductManagerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (GetProductManagerRequestValidationError) ErrorName ¶
func (e GetProductManagerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (GetProductManagerRequestValidationError) Field ¶
func (e GetProductManagerRequestValidationError) Field() string
Field function returns field value.
func (GetProductManagerRequestValidationError) Key ¶
func (e GetProductManagerRequestValidationError) Key() bool
Key function returns key value.
func (GetProductManagerRequestValidationError) Reason ¶
func (e GetProductManagerRequestValidationError) Reason() string
Reason function returns reason value.
type GetProductManagerResponse ¶
type GetProductManagerResponse struct {
Data *product.ProductAdminItem `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
}
func (*GetProductManagerResponse) Descriptor ¶
func (*GetProductManagerResponse) Descriptor() ([]byte, []int)
func (*GetProductManagerResponse) GetData ¶
func (m *GetProductManagerResponse) GetData() *product.ProductAdminItem
func (*GetProductManagerResponse) ProtoMessage ¶
func (*GetProductManagerResponse) ProtoMessage()
func (*GetProductManagerResponse) Reset ¶
func (m *GetProductManagerResponse) Reset()
func (*GetProductManagerResponse) String ¶
func (m *GetProductManagerResponse) String() string
func (*GetProductManagerResponse) Validate ¶
func (m *GetProductManagerResponse) Validate() error
Validate checks the field values on GetProductManagerResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*GetProductManagerResponse) XXX_DiscardUnknown ¶
func (m *GetProductManagerResponse) XXX_DiscardUnknown()
func (*GetProductManagerResponse) XXX_Marshal ¶
func (m *GetProductManagerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GetProductManagerResponse) XXX_Merge ¶
func (m *GetProductManagerResponse) XXX_Merge(src proto.Message)
func (*GetProductManagerResponse) XXX_Size ¶
func (m *GetProductManagerResponse) XXX_Size() int
func (*GetProductManagerResponse) XXX_Unmarshal ¶
func (m *GetProductManagerResponse) XXX_Unmarshal(b []byte) error
type GetProductManagerResponseValidationError ¶
type GetProductManagerResponseValidationError struct {
// contains filtered or unexported fields
}
GetProductManagerResponseValidationError is the validation error returned by GetProductManagerResponse.Validate if the designated constraints aren't met.
func (GetProductManagerResponseValidationError) Cause ¶
func (e GetProductManagerResponseValidationError) Cause() error
Cause function returns cause value.
func (GetProductManagerResponseValidationError) Error ¶
func (e GetProductManagerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (GetProductManagerResponseValidationError) ErrorName ¶
func (e GetProductManagerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (GetProductManagerResponseValidationError) Field ¶
func (e GetProductManagerResponseValidationError) Field() string
Field function returns field value.
func (GetProductManagerResponseValidationError) Key ¶
func (e GetProductManagerResponseValidationError) Key() bool
Key function returns key value.
func (GetProductManagerResponseValidationError) Reason ¶
func (e GetProductManagerResponseValidationError) Reason() string
Reason function returns reason value.
type PaginateProductManagerRequest ¶
type PaginateProductManagerRequest struct { Skip int64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit"` Sort string `protobuf:"bytes,3,opt,name=sort,proto3" json:"sort"` Filter *PaginateProductManagerRequest_Filter `protobuf:"bytes,4,opt,name=filter,proto3" json:"filter"` }
func (*PaginateProductManagerRequest) Descriptor ¶
func (*PaginateProductManagerRequest) Descriptor() ([]byte, []int)
func (*PaginateProductManagerRequest) GetFilter ¶
func (m *PaginateProductManagerRequest) GetFilter() *PaginateProductManagerRequest_Filter
func (*PaginateProductManagerRequest) GetLimit ¶
func (m *PaginateProductManagerRequest) GetLimit() int64
func (*PaginateProductManagerRequest) GetSkip ¶
func (m *PaginateProductManagerRequest) GetSkip() int64
func (*PaginateProductManagerRequest) GetSort ¶
func (m *PaginateProductManagerRequest) GetSort() string
func (*PaginateProductManagerRequest) ProtoMessage ¶
func (*PaginateProductManagerRequest) ProtoMessage()
func (*PaginateProductManagerRequest) Reset ¶
func (m *PaginateProductManagerRequest) Reset()
func (*PaginateProductManagerRequest) String ¶
func (m *PaginateProductManagerRequest) String() string
func (*PaginateProductManagerRequest) Validate ¶
func (m *PaginateProductManagerRequest) Validate() error
Validate checks the field values on PaginateProductManagerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PaginateProductManagerRequest) XXX_DiscardUnknown ¶
func (m *PaginateProductManagerRequest) XXX_DiscardUnknown()
func (*PaginateProductManagerRequest) XXX_Marshal ¶
func (m *PaginateProductManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaginateProductManagerRequest) XXX_Merge ¶
func (m *PaginateProductManagerRequest) XXX_Merge(src proto.Message)
func (*PaginateProductManagerRequest) XXX_Size ¶
func (m *PaginateProductManagerRequest) XXX_Size() int
func (*PaginateProductManagerRequest) XXX_Unmarshal ¶
func (m *PaginateProductManagerRequest) XXX_Unmarshal(b []byte) error
type PaginateProductManagerRequestValidationError ¶
type PaginateProductManagerRequestValidationError struct {
// contains filtered or unexported fields
}
PaginateProductManagerRequestValidationError is the validation error returned by PaginateProductManagerRequest.Validate if the designated constraints aren't met.
func (PaginateProductManagerRequestValidationError) Cause ¶
func (e PaginateProductManagerRequestValidationError) Cause() error
Cause function returns cause value.
func (PaginateProductManagerRequestValidationError) Error ¶
func (e PaginateProductManagerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (PaginateProductManagerRequestValidationError) ErrorName ¶
func (e PaginateProductManagerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (PaginateProductManagerRequestValidationError) Field ¶
func (e PaginateProductManagerRequestValidationError) Field() string
Field function returns field value.
func (PaginateProductManagerRequestValidationError) Key ¶
func (e PaginateProductManagerRequestValidationError) Key() bool
Key function returns key value.
func (PaginateProductManagerRequestValidationError) Reason ¶
func (e PaginateProductManagerRequestValidationError) Reason() string
Reason function returns reason value.
type PaginateProductManagerRequest_Filter ¶
type PaginateProductManagerRequest_Filter struct { IsActive shared.NullableBool `protobuf:"varint,1,opt,name=is_active,json=isActive,proto3,enum=menu.shared.NullableBool" json:"is_active"` IsDeleted shared.NullableBool `protobuf:"varint,2,opt,name=is_deleted,json=isDeleted,proto3,enum=menu.shared.NullableBool" json:"is_deleted"` CategoryUuid string `protobuf:"bytes,3,opt,name=category_uuid,json=categoryUuid,proto3" json:"category_uuid"` AncestorUuid string `protobuf:"bytes,4,opt,name=ancestor_uuid,json=ancestorUuid,proto3" json:"ancestor_uuid"` }
func (*PaginateProductManagerRequest_Filter) Descriptor ¶
func (*PaginateProductManagerRequest_Filter) Descriptor() ([]byte, []int)
func (*PaginateProductManagerRequest_Filter) GetAncestorUuid ¶
func (m *PaginateProductManagerRequest_Filter) GetAncestorUuid() string
func (*PaginateProductManagerRequest_Filter) GetCategoryUuid ¶
func (m *PaginateProductManagerRequest_Filter) GetCategoryUuid() string
func (*PaginateProductManagerRequest_Filter) GetIsActive ¶
func (m *PaginateProductManagerRequest_Filter) GetIsActive() shared.NullableBool
func (*PaginateProductManagerRequest_Filter) GetIsDeleted ¶
func (m *PaginateProductManagerRequest_Filter) GetIsDeleted() shared.NullableBool
func (*PaginateProductManagerRequest_Filter) ProtoMessage ¶
func (*PaginateProductManagerRequest_Filter) ProtoMessage()
func (*PaginateProductManagerRequest_Filter) Reset ¶
func (m *PaginateProductManagerRequest_Filter) Reset()
func (*PaginateProductManagerRequest_Filter) String ¶
func (m *PaginateProductManagerRequest_Filter) String() string
func (*PaginateProductManagerRequest_Filter) Validate ¶
func (m *PaginateProductManagerRequest_Filter) Validate() error
Validate checks the field values on PaginateProductManagerRequest_Filter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PaginateProductManagerRequest_Filter) XXX_DiscardUnknown ¶
func (m *PaginateProductManagerRequest_Filter) XXX_DiscardUnknown()
func (*PaginateProductManagerRequest_Filter) XXX_Marshal ¶
func (m *PaginateProductManagerRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaginateProductManagerRequest_Filter) XXX_Merge ¶
func (m *PaginateProductManagerRequest_Filter) XXX_Merge(src proto.Message)
func (*PaginateProductManagerRequest_Filter) XXX_Size ¶
func (m *PaginateProductManagerRequest_Filter) XXX_Size() int
func (*PaginateProductManagerRequest_Filter) XXX_Unmarshal ¶
func (m *PaginateProductManagerRequest_Filter) XXX_Unmarshal(b []byte) error
type PaginateProductManagerRequest_FilterValidationError ¶
type PaginateProductManagerRequest_FilterValidationError struct {
// contains filtered or unexported fields
}
PaginateProductManagerRequest_FilterValidationError is the validation error returned by PaginateProductManagerRequest_Filter.Validate if the designated constraints aren't met.
func (PaginateProductManagerRequest_FilterValidationError) Cause ¶
func (e PaginateProductManagerRequest_FilterValidationError) Cause() error
Cause function returns cause value.
func (PaginateProductManagerRequest_FilterValidationError) Error ¶
func (e PaginateProductManagerRequest_FilterValidationError) Error() string
Error satisfies the builtin error interface
func (PaginateProductManagerRequest_FilterValidationError) ErrorName ¶
func (e PaginateProductManagerRequest_FilterValidationError) ErrorName() string
ErrorName returns error name.
func (PaginateProductManagerRequest_FilterValidationError) Field ¶
func (e PaginateProductManagerRequest_FilterValidationError) Field() string
Field function returns field value.
func (PaginateProductManagerRequest_FilterValidationError) Key ¶
func (e PaginateProductManagerRequest_FilterValidationError) Key() bool
Key function returns key value.
func (PaginateProductManagerRequest_FilterValidationError) Reason ¶
func (e PaginateProductManagerRequest_FilterValidationError) Reason() string
Reason function returns reason value.
type PaginateProductManagerResponse ¶
type PaginateProductManagerResponse struct { Skip int64 `protobuf:"varint,1,opt,name=skip,proto3" json:"skip"` Limit int64 `protobuf:"varint,2,opt,name=limit,proto3" json:"limit"` Total int64 `protobuf:"varint,3,opt,name=total,proto3" json:"total"` Data []*product.ProductAdminItem `protobuf:"bytes,4,rep,name=data,proto3" json:"data"` }
func (*PaginateProductManagerResponse) Descriptor ¶
func (*PaginateProductManagerResponse) Descriptor() ([]byte, []int)
func (*PaginateProductManagerResponse) GetData ¶
func (m *PaginateProductManagerResponse) GetData() []*product.ProductAdminItem
func (*PaginateProductManagerResponse) GetLimit ¶
func (m *PaginateProductManagerResponse) GetLimit() int64
func (*PaginateProductManagerResponse) GetSkip ¶
func (m *PaginateProductManagerResponse) GetSkip() int64
func (*PaginateProductManagerResponse) GetTotal ¶
func (m *PaginateProductManagerResponse) GetTotal() int64
func (*PaginateProductManagerResponse) ProtoMessage ¶
func (*PaginateProductManagerResponse) ProtoMessage()
func (*PaginateProductManagerResponse) Reset ¶
func (m *PaginateProductManagerResponse) Reset()
func (*PaginateProductManagerResponse) String ¶
func (m *PaginateProductManagerResponse) String() string
func (*PaginateProductManagerResponse) Validate ¶
func (m *PaginateProductManagerResponse) Validate() error
Validate checks the field values on PaginateProductManagerResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*PaginateProductManagerResponse) XXX_DiscardUnknown ¶
func (m *PaginateProductManagerResponse) XXX_DiscardUnknown()
func (*PaginateProductManagerResponse) XXX_Marshal ¶
func (m *PaginateProductManagerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*PaginateProductManagerResponse) XXX_Merge ¶
func (m *PaginateProductManagerResponse) XXX_Merge(src proto.Message)
func (*PaginateProductManagerResponse) XXX_Size ¶
func (m *PaginateProductManagerResponse) XXX_Size() int
func (*PaginateProductManagerResponse) XXX_Unmarshal ¶
func (m *PaginateProductManagerResponse) XXX_Unmarshal(b []byte) error
type PaginateProductManagerResponseValidationError ¶
type PaginateProductManagerResponseValidationError struct {
// contains filtered or unexported fields
}
PaginateProductManagerResponseValidationError is the validation error returned by PaginateProductManagerResponse.Validate if the designated constraints aren't met.
func (PaginateProductManagerResponseValidationError) Cause ¶
func (e PaginateProductManagerResponseValidationError) Cause() error
Cause function returns cause value.
func (PaginateProductManagerResponseValidationError) Error ¶
func (e PaginateProductManagerResponseValidationError) Error() string
Error satisfies the builtin error interface
func (PaginateProductManagerResponseValidationError) ErrorName ¶
func (e PaginateProductManagerResponseValidationError) ErrorName() string
ErrorName returns error name.
func (PaginateProductManagerResponseValidationError) Field ¶
func (e PaginateProductManagerResponseValidationError) Field() string
Field function returns field value.
func (PaginateProductManagerResponseValidationError) Key ¶
func (e PaginateProductManagerResponseValidationError) Key() bool
Key function returns key value.
func (PaginateProductManagerResponseValidationError) Reason ¶
func (e PaginateProductManagerResponseValidationError) Reason() string
Reason function returns reason value.
type ProductManagerService ¶
type ProductManagerService interface { Create(ctx context.Context, in *CreateProductManagerRequest, opts ...client.CallOption) (*CreateProductManagerResponse, error) Update(ctx context.Context, in *UpdateProductManagerRequest, opts ...client.CallOption) (*empty.Empty, error) Delete(ctx context.Context, in *DeleteProductManagerRequest, opts ...client.CallOption) (*empty.Empty, error) Paginate(ctx context.Context, in *PaginateProductManagerRequest, opts ...client.CallOption) (*PaginateProductManagerResponse, error) Get(ctx context.Context, in *GetProductManagerRequest, opts ...client.CallOption) (*GetProductManagerResponse, error) }
func NewProductManagerService ¶
func NewProductManagerService(name string, c client.Client) ProductManagerService
type ProductManagerServiceHandler ¶
type ProductManagerServiceHandler interface { Create(context.Context, *CreateProductManagerRequest, *CreateProductManagerResponse) error Update(context.Context, *UpdateProductManagerRequest, *empty.Empty) error Delete(context.Context, *DeleteProductManagerRequest, *empty.Empty) error Paginate(context.Context, *PaginateProductManagerRequest, *PaginateProductManagerResponse) error Get(context.Context, *GetProductManagerRequest, *GetProductManagerResponse) error }
type UpdateProductManagerRequest ¶
type UpdateProductManagerRequest struct {
Data *product.ProductAdminItem `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
}
func (*UpdateProductManagerRequest) Descriptor ¶
func (*UpdateProductManagerRequest) Descriptor() ([]byte, []int)
func (*UpdateProductManagerRequest) GetData ¶
func (m *UpdateProductManagerRequest) GetData() *product.ProductAdminItem
func (*UpdateProductManagerRequest) ProtoMessage ¶
func (*UpdateProductManagerRequest) ProtoMessage()
func (*UpdateProductManagerRequest) Reset ¶
func (m *UpdateProductManagerRequest) Reset()
func (*UpdateProductManagerRequest) String ¶
func (m *UpdateProductManagerRequest) String() string
func (*UpdateProductManagerRequest) Validate ¶
func (m *UpdateProductManagerRequest) Validate() error
Validate checks the field values on UpdateProductManagerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.
func (*UpdateProductManagerRequest) XXX_DiscardUnknown ¶
func (m *UpdateProductManagerRequest) XXX_DiscardUnknown()
func (*UpdateProductManagerRequest) XXX_Marshal ¶
func (m *UpdateProductManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*UpdateProductManagerRequest) XXX_Merge ¶
func (m *UpdateProductManagerRequest) XXX_Merge(src proto.Message)
func (*UpdateProductManagerRequest) XXX_Size ¶
func (m *UpdateProductManagerRequest) XXX_Size() int
func (*UpdateProductManagerRequest) XXX_Unmarshal ¶
func (m *UpdateProductManagerRequest) XXX_Unmarshal(b []byte) error
type UpdateProductManagerRequestValidationError ¶
type UpdateProductManagerRequestValidationError struct {
// contains filtered or unexported fields
}
UpdateProductManagerRequestValidationError is the validation error returned by UpdateProductManagerRequest.Validate if the designated constraints aren't met.
func (UpdateProductManagerRequestValidationError) Cause ¶
func (e UpdateProductManagerRequestValidationError) Cause() error
Cause function returns cause value.
func (UpdateProductManagerRequestValidationError) Error ¶
func (e UpdateProductManagerRequestValidationError) Error() string
Error satisfies the builtin error interface
func (UpdateProductManagerRequestValidationError) ErrorName ¶
func (e UpdateProductManagerRequestValidationError) ErrorName() string
ErrorName returns error name.
func (UpdateProductManagerRequestValidationError) Field ¶
func (e UpdateProductManagerRequestValidationError) Field() string
Field function returns field value.
func (UpdateProductManagerRequestValidationError) Key ¶
func (e UpdateProductManagerRequestValidationError) Key() bool
Key function returns key value.
func (UpdateProductManagerRequestValidationError) Reason ¶
func (e UpdateProductManagerRequestValidationError) Reason() string
Reason function returns reason value.