rpc

package
v0.15.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2021 License: AGPL-3.0 Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewProductManagerServiceEndpoints

func NewProductManagerServiceEndpoints() []*api.Endpoint

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 (*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

Cause function returns cause value.

func (CreateProductManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateProductManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateProductManagerRequestValidationError) Field

Field function returns field value.

func (CreateProductManagerRequestValidationError) Key

Key function returns key value.

func (CreateProductManagerRequestValidationError) Reason

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 (*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

Cause function returns cause value.

func (CreateProductManagerResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateProductManagerResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateProductManagerResponseValidationError) Field

Field function returns field value.

func (CreateProductManagerResponseValidationError) Key

Key function returns key value.

func (CreateProductManagerResponseValidationError) Reason

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

Cause function returns cause value.

func (DeleteProductManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteProductManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteProductManagerRequestValidationError) Field

Field function returns field value.

func (DeleteProductManagerRequestValidationError) Key

Key function returns key value.

func (DeleteProductManagerRequestValidationError) Reason

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

Cause function returns cause value.

func (GetProductManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (GetProductManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (GetProductManagerRequestValidationError) Field

Field function returns field value.

func (GetProductManagerRequestValidationError) Key

Key function returns key value.

func (GetProductManagerRequestValidationError) Reason

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 (*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

Cause function returns cause value.

func (GetProductManagerResponseValidationError) Error

Error satisfies the builtin error interface

func (GetProductManagerResponseValidationError) ErrorName

ErrorName returns error name.

func (GetProductManagerResponseValidationError) Field

Field function returns field value.

func (GetProductManagerResponseValidationError) Key

Key function returns key value.

func (GetProductManagerResponseValidationError) Reason

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 (*PaginateProductManagerRequest) GetLimit

func (m *PaginateProductManagerRequest) GetLimit() int64

func (*PaginateProductManagerRequest) GetSkip

func (m *PaginateProductManagerRequest) GetSkip() int64

func (*PaginateProductManagerRequest) GetSort

func (*PaginateProductManagerRequest) ProtoMessage

func (*PaginateProductManagerRequest) ProtoMessage()

func (*PaginateProductManagerRequest) Reset

func (m *PaginateProductManagerRequest) Reset()

func (*PaginateProductManagerRequest) 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

Cause function returns cause value.

func (PaginateProductManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (PaginateProductManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (PaginateProductManagerRequestValidationError) Field

Field function returns field value.

func (PaginateProductManagerRequestValidationError) Key

Key function returns key value.

func (PaginateProductManagerRequestValidationError) Reason

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 (*PaginateProductManagerRequest_Filter) GetIsDeleted

func (*PaginateProductManagerRequest_Filter) ProtoMessage

func (*PaginateProductManagerRequest_Filter) ProtoMessage()

func (*PaginateProductManagerRequest_Filter) Reset

func (*PaginateProductManagerRequest_Filter) String

func (*PaginateProductManagerRequest_Filter) Validate

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 (*PaginateProductManagerRequest_Filter) XXX_Size

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

Cause function returns cause value.

func (PaginateProductManagerRequest_FilterValidationError) Error

Error satisfies the builtin error interface

func (PaginateProductManagerRequest_FilterValidationError) ErrorName

ErrorName returns error name.

func (PaginateProductManagerRequest_FilterValidationError) Field

Field function returns field value.

func (PaginateProductManagerRequest_FilterValidationError) Key

Key function returns key value.

func (PaginateProductManagerRequest_FilterValidationError) Reason

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 (*PaginateProductManagerResponse) GetLimit

func (m *PaginateProductManagerResponse) GetLimit() int64

func (*PaginateProductManagerResponse) GetSkip

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 (*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

Cause function returns cause value.

func (PaginateProductManagerResponseValidationError) Error

Error satisfies the builtin error interface

func (PaginateProductManagerResponseValidationError) ErrorName

ErrorName returns error name.

func (PaginateProductManagerResponseValidationError) Field

Field function returns field value.

func (PaginateProductManagerResponseValidationError) Key

Key function returns key value.

func (PaginateProductManagerResponseValidationError) Reason

Reason function returns reason value.

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 (*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

Cause function returns cause value.

func (UpdateProductManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateProductManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateProductManagerRequestValidationError) Field

Field function returns field value.

func (UpdateProductManagerRequestValidationError) Key

Key function returns key value.

func (UpdateProductManagerRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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