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 NewAttributeManagerServiceEndpoints

func NewAttributeManagerServiceEndpoints() []*api.Endpoint

func RegisterAttributeManagerServiceHandler

func RegisterAttributeManagerServiceHandler(s server.Server, hdlr AttributeManagerServiceHandler, opts ...server.HandlerOption) error

Types

type CreateAttributeManagerRequest

type CreateAttributeManagerRequest struct {
	Data *attribute.AttributeAdminItem `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
}

func (*CreateAttributeManagerRequest) Descriptor

func (*CreateAttributeManagerRequest) Descriptor() ([]byte, []int)

func (*CreateAttributeManagerRequest) GetData

func (*CreateAttributeManagerRequest) ProtoMessage

func (*CreateAttributeManagerRequest) ProtoMessage()

func (*CreateAttributeManagerRequest) Reset

func (m *CreateAttributeManagerRequest) Reset()

func (*CreateAttributeManagerRequest) String

func (*CreateAttributeManagerRequest) Validate

func (m *CreateAttributeManagerRequest) Validate() error

Validate checks the field values on CreateAttributeManagerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CreateAttributeManagerRequest) XXX_DiscardUnknown

func (m *CreateAttributeManagerRequest) XXX_DiscardUnknown()

func (*CreateAttributeManagerRequest) XXX_Marshal

func (m *CreateAttributeManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateAttributeManagerRequest) XXX_Merge

func (m *CreateAttributeManagerRequest) XXX_Merge(src proto.Message)

func (*CreateAttributeManagerRequest) XXX_Size

func (m *CreateAttributeManagerRequest) XXX_Size() int

func (*CreateAttributeManagerRequest) XXX_Unmarshal

func (m *CreateAttributeManagerRequest) XXX_Unmarshal(b []byte) error

type CreateAttributeManagerRequestValidationError

type CreateAttributeManagerRequestValidationError struct {
	// contains filtered or unexported fields
}

CreateAttributeManagerRequestValidationError is the validation error returned by CreateAttributeManagerRequest.Validate if the designated constraints aren't met.

func (CreateAttributeManagerRequestValidationError) Cause

Cause function returns cause value.

func (CreateAttributeManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateAttributeManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateAttributeManagerRequestValidationError) Field

Field function returns field value.

func (CreateAttributeManagerRequestValidationError) Key

Key function returns key value.

func (CreateAttributeManagerRequestValidationError) Reason

Reason function returns reason value.

type CreateAttributeManagerResponse

type CreateAttributeManagerResponse struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"`
}

func (*CreateAttributeManagerResponse) Descriptor

func (*CreateAttributeManagerResponse) Descriptor() ([]byte, []int)

func (*CreateAttributeManagerResponse) GetUuid

func (*CreateAttributeManagerResponse) ProtoMessage

func (*CreateAttributeManagerResponse) ProtoMessage()

func (*CreateAttributeManagerResponse) Reset

func (m *CreateAttributeManagerResponse) Reset()

func (*CreateAttributeManagerResponse) String

func (*CreateAttributeManagerResponse) Validate

func (m *CreateAttributeManagerResponse) Validate() error

Validate checks the field values on CreateAttributeManagerResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*CreateAttributeManagerResponse) XXX_DiscardUnknown

func (m *CreateAttributeManagerResponse) XXX_DiscardUnknown()

func (*CreateAttributeManagerResponse) XXX_Marshal

func (m *CreateAttributeManagerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*CreateAttributeManagerResponse) XXX_Merge

func (m *CreateAttributeManagerResponse) XXX_Merge(src proto.Message)

func (*CreateAttributeManagerResponse) XXX_Size

func (m *CreateAttributeManagerResponse) XXX_Size() int

func (*CreateAttributeManagerResponse) XXX_Unmarshal

func (m *CreateAttributeManagerResponse) XXX_Unmarshal(b []byte) error

type CreateAttributeManagerResponseValidationError

type CreateAttributeManagerResponseValidationError struct {
	// contains filtered or unexported fields
}

CreateAttributeManagerResponseValidationError is the validation error returned by CreateAttributeManagerResponse.Validate if the designated constraints aren't met.

func (CreateAttributeManagerResponseValidationError) Cause

Cause function returns cause value.

func (CreateAttributeManagerResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateAttributeManagerResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateAttributeManagerResponseValidationError) Field

Field function returns field value.

func (CreateAttributeManagerResponseValidationError) Key

Key function returns key value.

func (CreateAttributeManagerResponseValidationError) Reason

Reason function returns reason value.

type DeleteAttributeManagerRequest

type DeleteAttributeManagerRequest 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 (*DeleteAttributeManagerRequest) Descriptor

func (*DeleteAttributeManagerRequest) Descriptor() ([]byte, []int)

func (*DeleteAttributeManagerRequest) GetIsSoft

func (m *DeleteAttributeManagerRequest) GetIsSoft() bool

func (*DeleteAttributeManagerRequest) GetUuid

func (*DeleteAttributeManagerRequest) ProtoMessage

func (*DeleteAttributeManagerRequest) ProtoMessage()

func (*DeleteAttributeManagerRequest) Reset

func (m *DeleteAttributeManagerRequest) Reset()

func (*DeleteAttributeManagerRequest) String

func (*DeleteAttributeManagerRequest) Validate

func (m *DeleteAttributeManagerRequest) Validate() error

Validate checks the field values on DeleteAttributeManagerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*DeleteAttributeManagerRequest) XXX_DiscardUnknown

func (m *DeleteAttributeManagerRequest) XXX_DiscardUnknown()

func (*DeleteAttributeManagerRequest) XXX_Marshal

func (m *DeleteAttributeManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DeleteAttributeManagerRequest) XXX_Merge

func (m *DeleteAttributeManagerRequest) XXX_Merge(src proto.Message)

func (*DeleteAttributeManagerRequest) XXX_Size

func (m *DeleteAttributeManagerRequest) XXX_Size() int

func (*DeleteAttributeManagerRequest) XXX_Unmarshal

func (m *DeleteAttributeManagerRequest) XXX_Unmarshal(b []byte) error

type DeleteAttributeManagerRequestValidationError

type DeleteAttributeManagerRequestValidationError struct {
	// contains filtered or unexported fields
}

DeleteAttributeManagerRequestValidationError is the validation error returned by DeleteAttributeManagerRequest.Validate if the designated constraints aren't met.

func (DeleteAttributeManagerRequestValidationError) Cause

Cause function returns cause value.

func (DeleteAttributeManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteAttributeManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteAttributeManagerRequestValidationError) Field

Field function returns field value.

func (DeleteAttributeManagerRequestValidationError) Key

Key function returns key value.

func (DeleteAttributeManagerRequestValidationError) Reason

Reason function returns reason value.

type GetAttributeManagerRequest

type GetAttributeManagerRequest struct {
	Uuid string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"`
}

func (*GetAttributeManagerRequest) Descriptor

func (*GetAttributeManagerRequest) Descriptor() ([]byte, []int)

func (*GetAttributeManagerRequest) GetUuid

func (m *GetAttributeManagerRequest) GetUuid() string

func (*GetAttributeManagerRequest) ProtoMessage

func (*GetAttributeManagerRequest) ProtoMessage()

func (*GetAttributeManagerRequest) Reset

func (m *GetAttributeManagerRequest) Reset()

func (*GetAttributeManagerRequest) String

func (m *GetAttributeManagerRequest) String() string

func (*GetAttributeManagerRequest) Validate

func (m *GetAttributeManagerRequest) Validate() error

Validate checks the field values on GetAttributeManagerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetAttributeManagerRequest) XXX_DiscardUnknown

func (m *GetAttributeManagerRequest) XXX_DiscardUnknown()

func (*GetAttributeManagerRequest) XXX_Marshal

func (m *GetAttributeManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAttributeManagerRequest) XXX_Merge

func (m *GetAttributeManagerRequest) XXX_Merge(src proto.Message)

func (*GetAttributeManagerRequest) XXX_Size

func (m *GetAttributeManagerRequest) XXX_Size() int

func (*GetAttributeManagerRequest) XXX_Unmarshal

func (m *GetAttributeManagerRequest) XXX_Unmarshal(b []byte) error

type GetAttributeManagerRequestValidationError

type GetAttributeManagerRequestValidationError struct {
	// contains filtered or unexported fields
}

GetAttributeManagerRequestValidationError is the validation error returned by GetAttributeManagerRequest.Validate if the designated constraints aren't met.

func (GetAttributeManagerRequestValidationError) Cause

Cause function returns cause value.

func (GetAttributeManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (GetAttributeManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (GetAttributeManagerRequestValidationError) Field

Field function returns field value.

func (GetAttributeManagerRequestValidationError) Key

Key function returns key value.

func (GetAttributeManagerRequestValidationError) Reason

Reason function returns reason value.

type GetAttributeManagerResponse

type GetAttributeManagerResponse struct {
	Data *attribute.AttributeAdminItem `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
}

func (*GetAttributeManagerResponse) Descriptor

func (*GetAttributeManagerResponse) Descriptor() ([]byte, []int)

func (*GetAttributeManagerResponse) GetData

func (*GetAttributeManagerResponse) ProtoMessage

func (*GetAttributeManagerResponse) ProtoMessage()

func (*GetAttributeManagerResponse) Reset

func (m *GetAttributeManagerResponse) Reset()

func (*GetAttributeManagerResponse) String

func (m *GetAttributeManagerResponse) String() string

func (*GetAttributeManagerResponse) Validate

func (m *GetAttributeManagerResponse) Validate() error

Validate checks the field values on GetAttributeManagerResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*GetAttributeManagerResponse) XXX_DiscardUnknown

func (m *GetAttributeManagerResponse) XXX_DiscardUnknown()

func (*GetAttributeManagerResponse) XXX_Marshal

func (m *GetAttributeManagerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GetAttributeManagerResponse) XXX_Merge

func (m *GetAttributeManagerResponse) XXX_Merge(src proto.Message)

func (*GetAttributeManagerResponse) XXX_Size

func (m *GetAttributeManagerResponse) XXX_Size() int

func (*GetAttributeManagerResponse) XXX_Unmarshal

func (m *GetAttributeManagerResponse) XXX_Unmarshal(b []byte) error

type GetAttributeManagerResponseValidationError

type GetAttributeManagerResponseValidationError struct {
	// contains filtered or unexported fields
}

GetAttributeManagerResponseValidationError is the validation error returned by GetAttributeManagerResponse.Validate if the designated constraints aren't met.

func (GetAttributeManagerResponseValidationError) Cause

Cause function returns cause value.

func (GetAttributeManagerResponseValidationError) Error

Error satisfies the builtin error interface

func (GetAttributeManagerResponseValidationError) ErrorName

ErrorName returns error name.

func (GetAttributeManagerResponseValidationError) Field

Field function returns field value.

func (GetAttributeManagerResponseValidationError) Key

Key function returns key value.

func (GetAttributeManagerResponseValidationError) Reason

Reason function returns reason value.

type PaginateAttributeManagerRequest

type PaginateAttributeManagerRequest 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 *PaginateAttributeManagerRequest_Filter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter"`
}

func (*PaginateAttributeManagerRequest) Descriptor

func (*PaginateAttributeManagerRequest) Descriptor() ([]byte, []int)

func (*PaginateAttributeManagerRequest) GetFilter

func (*PaginateAttributeManagerRequest) GetLimit

func (m *PaginateAttributeManagerRequest) GetLimit() int64

func (*PaginateAttributeManagerRequest) GetSkip

func (*PaginateAttributeManagerRequest) GetSort

func (*PaginateAttributeManagerRequest) ProtoMessage

func (*PaginateAttributeManagerRequest) ProtoMessage()

func (*PaginateAttributeManagerRequest) Reset

func (*PaginateAttributeManagerRequest) String

func (*PaginateAttributeManagerRequest) Validate

func (m *PaginateAttributeManagerRequest) Validate() error

Validate checks the field values on PaginateAttributeManagerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PaginateAttributeManagerRequest) XXX_DiscardUnknown

func (m *PaginateAttributeManagerRequest) XXX_DiscardUnknown()

func (*PaginateAttributeManagerRequest) XXX_Marshal

func (m *PaginateAttributeManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PaginateAttributeManagerRequest) XXX_Merge

func (m *PaginateAttributeManagerRequest) XXX_Merge(src proto.Message)

func (*PaginateAttributeManagerRequest) XXX_Size

func (m *PaginateAttributeManagerRequest) XXX_Size() int

func (*PaginateAttributeManagerRequest) XXX_Unmarshal

func (m *PaginateAttributeManagerRequest) XXX_Unmarshal(b []byte) error

type PaginateAttributeManagerRequestValidationError

type PaginateAttributeManagerRequestValidationError struct {
	// contains filtered or unexported fields
}

PaginateAttributeManagerRequestValidationError is the validation error returned by PaginateAttributeManagerRequest.Validate if the designated constraints aren't met.

func (PaginateAttributeManagerRequestValidationError) Cause

Cause function returns cause value.

func (PaginateAttributeManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (PaginateAttributeManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (PaginateAttributeManagerRequestValidationError) Field

Field function returns field value.

func (PaginateAttributeManagerRequestValidationError) Key

Key function returns key value.

func (PaginateAttributeManagerRequestValidationError) Reason

Reason function returns reason value.

type PaginateAttributeManagerRequest_Filter

type PaginateAttributeManagerRequest_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"`
}

func (*PaginateAttributeManagerRequest_Filter) Descriptor

func (*PaginateAttributeManagerRequest_Filter) Descriptor() ([]byte, []int)

func (*PaginateAttributeManagerRequest_Filter) GetIsActive

func (*PaginateAttributeManagerRequest_Filter) GetIsDeleted

func (*PaginateAttributeManagerRequest_Filter) ProtoMessage

func (*PaginateAttributeManagerRequest_Filter) Reset

func (*PaginateAttributeManagerRequest_Filter) String

func (*PaginateAttributeManagerRequest_Filter) Validate

Validate checks the field values on PaginateAttributeManagerRequest_Filter with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PaginateAttributeManagerRequest_Filter) XXX_DiscardUnknown

func (m *PaginateAttributeManagerRequest_Filter) XXX_DiscardUnknown()

func (*PaginateAttributeManagerRequest_Filter) XXX_Marshal

func (m *PaginateAttributeManagerRequest_Filter) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PaginateAttributeManagerRequest_Filter) XXX_Merge

func (*PaginateAttributeManagerRequest_Filter) XXX_Size

func (*PaginateAttributeManagerRequest_Filter) XXX_Unmarshal

func (m *PaginateAttributeManagerRequest_Filter) XXX_Unmarshal(b []byte) error

type PaginateAttributeManagerRequest_FilterValidationError

type PaginateAttributeManagerRequest_FilterValidationError struct {
	// contains filtered or unexported fields
}

PaginateAttributeManagerRequest_FilterValidationError is the validation error returned by PaginateAttributeManagerRequest_Filter.Validate if the designated constraints aren't met.

func (PaginateAttributeManagerRequest_FilterValidationError) Cause

Cause function returns cause value.

func (PaginateAttributeManagerRequest_FilterValidationError) Error

Error satisfies the builtin error interface

func (PaginateAttributeManagerRequest_FilterValidationError) ErrorName

ErrorName returns error name.

func (PaginateAttributeManagerRequest_FilterValidationError) Field

Field function returns field value.

func (PaginateAttributeManagerRequest_FilterValidationError) Key

Key function returns key value.

func (PaginateAttributeManagerRequest_FilterValidationError) Reason

Reason function returns reason value.

type PaginateAttributeManagerResponse

type PaginateAttributeManagerResponse 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  []*attribute.AttributeAdminItem `protobuf:"bytes,4,rep,name=data,proto3" json:"data"`
}

func (*PaginateAttributeManagerResponse) Descriptor

func (*PaginateAttributeManagerResponse) Descriptor() ([]byte, []int)

func (*PaginateAttributeManagerResponse) GetData

func (*PaginateAttributeManagerResponse) GetLimit

func (*PaginateAttributeManagerResponse) GetSkip

func (*PaginateAttributeManagerResponse) GetTotal

func (*PaginateAttributeManagerResponse) ProtoMessage

func (*PaginateAttributeManagerResponse) ProtoMessage()

func (*PaginateAttributeManagerResponse) Reset

func (*PaginateAttributeManagerResponse) String

func (*PaginateAttributeManagerResponse) Validate

Validate checks the field values on PaginateAttributeManagerResponse with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*PaginateAttributeManagerResponse) XXX_DiscardUnknown

func (m *PaginateAttributeManagerResponse) XXX_DiscardUnknown()

func (*PaginateAttributeManagerResponse) XXX_Marshal

func (m *PaginateAttributeManagerResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PaginateAttributeManagerResponse) XXX_Merge

func (*PaginateAttributeManagerResponse) XXX_Size

func (m *PaginateAttributeManagerResponse) XXX_Size() int

func (*PaginateAttributeManagerResponse) XXX_Unmarshal

func (m *PaginateAttributeManagerResponse) XXX_Unmarshal(b []byte) error

type PaginateAttributeManagerResponseValidationError

type PaginateAttributeManagerResponseValidationError struct {
	// contains filtered or unexported fields
}

PaginateAttributeManagerResponseValidationError is the validation error returned by PaginateAttributeManagerResponse.Validate if the designated constraints aren't met.

func (PaginateAttributeManagerResponseValidationError) Cause

Cause function returns cause value.

func (PaginateAttributeManagerResponseValidationError) Error

Error satisfies the builtin error interface

func (PaginateAttributeManagerResponseValidationError) ErrorName

ErrorName returns error name.

func (PaginateAttributeManagerResponseValidationError) Field

Field function returns field value.

func (PaginateAttributeManagerResponseValidationError) Key

Key function returns key value.

func (PaginateAttributeManagerResponseValidationError) Reason

Reason function returns reason value.

type UpdateAttributeManagerRequest

type UpdateAttributeManagerRequest struct {
	Data *attribute.AttributeAdminItem `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
}

func (*UpdateAttributeManagerRequest) Descriptor

func (*UpdateAttributeManagerRequest) Descriptor() ([]byte, []int)

func (*UpdateAttributeManagerRequest) GetData

func (*UpdateAttributeManagerRequest) ProtoMessage

func (*UpdateAttributeManagerRequest) ProtoMessage()

func (*UpdateAttributeManagerRequest) Reset

func (m *UpdateAttributeManagerRequest) Reset()

func (*UpdateAttributeManagerRequest) String

func (*UpdateAttributeManagerRequest) Validate

func (m *UpdateAttributeManagerRequest) Validate() error

Validate checks the field values on UpdateAttributeManagerRequest with the rules defined in the proto definition for this message. If any rules are violated, an error is returned.

func (*UpdateAttributeManagerRequest) XXX_DiscardUnknown

func (m *UpdateAttributeManagerRequest) XXX_DiscardUnknown()

func (*UpdateAttributeManagerRequest) XXX_Marshal

func (m *UpdateAttributeManagerRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UpdateAttributeManagerRequest) XXX_Merge

func (m *UpdateAttributeManagerRequest) XXX_Merge(src proto.Message)

func (*UpdateAttributeManagerRequest) XXX_Size

func (m *UpdateAttributeManagerRequest) XXX_Size() int

func (*UpdateAttributeManagerRequest) XXX_Unmarshal

func (m *UpdateAttributeManagerRequest) XXX_Unmarshal(b []byte) error

type UpdateAttributeManagerRequestValidationError

type UpdateAttributeManagerRequestValidationError struct {
	// contains filtered or unexported fields
}

UpdateAttributeManagerRequestValidationError is the validation error returned by UpdateAttributeManagerRequest.Validate if the designated constraints aren't met.

func (UpdateAttributeManagerRequestValidationError) Cause

Cause function returns cause value.

func (UpdateAttributeManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateAttributeManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateAttributeManagerRequestValidationError) Field

Field function returns field value.

func (UpdateAttributeManagerRequestValidationError) Key

Key function returns key value.

func (UpdateAttributeManagerRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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