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 NewAncestorManagerServiceEndpoints

func NewAncestorManagerServiceEndpoints() []*api.Endpoint

func RegisterAncestorManagerServiceHandler

func RegisterAncestorManagerServiceHandler(s server.Server, hdlr AncestorManagerServiceHandler, opts ...server.HandlerOption) error

Types

type CreateAncestorManagerRequest

type CreateAncestorManagerRequest struct {
	Data *ancestor.AncestorAdminItem `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
}

func (*CreateAncestorManagerRequest) Descriptor

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

func (*CreateAncestorManagerRequest) GetData

func (*CreateAncestorManagerRequest) ProtoMessage

func (*CreateAncestorManagerRequest) ProtoMessage()

func (*CreateAncestorManagerRequest) Reset

func (m *CreateAncestorManagerRequest) Reset()

func (*CreateAncestorManagerRequest) String

func (*CreateAncestorManagerRequest) Validate

func (m *CreateAncestorManagerRequest) Validate() error

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

func (*CreateAncestorManagerRequest) XXX_DiscardUnknown

func (m *CreateAncestorManagerRequest) XXX_DiscardUnknown()

func (*CreateAncestorManagerRequest) XXX_Marshal

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

func (*CreateAncestorManagerRequest) XXX_Merge

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

func (*CreateAncestorManagerRequest) XXX_Size

func (m *CreateAncestorManagerRequest) XXX_Size() int

func (*CreateAncestorManagerRequest) XXX_Unmarshal

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

type CreateAncestorManagerRequestValidationError

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

CreateAncestorManagerRequestValidationError is the validation error returned by CreateAncestorManagerRequest.Validate if the designated constraints aren't met.

func (CreateAncestorManagerRequestValidationError) Cause

Cause function returns cause value.

func (CreateAncestorManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (CreateAncestorManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (CreateAncestorManagerRequestValidationError) Field

Field function returns field value.

func (CreateAncestorManagerRequestValidationError) Key

Key function returns key value.

func (CreateAncestorManagerRequestValidationError) Reason

Reason function returns reason value.

type CreateAncestorManagerResponse

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

func (*CreateAncestorManagerResponse) Descriptor

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

func (*CreateAncestorManagerResponse) GetUuid

func (*CreateAncestorManagerResponse) ProtoMessage

func (*CreateAncestorManagerResponse) ProtoMessage()

func (*CreateAncestorManagerResponse) Reset

func (m *CreateAncestorManagerResponse) Reset()

func (*CreateAncestorManagerResponse) String

func (*CreateAncestorManagerResponse) Validate

func (m *CreateAncestorManagerResponse) Validate() error

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

func (*CreateAncestorManagerResponse) XXX_DiscardUnknown

func (m *CreateAncestorManagerResponse) XXX_DiscardUnknown()

func (*CreateAncestorManagerResponse) XXX_Marshal

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

func (*CreateAncestorManagerResponse) XXX_Merge

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

func (*CreateAncestorManagerResponse) XXX_Size

func (m *CreateAncestorManagerResponse) XXX_Size() int

func (*CreateAncestorManagerResponse) XXX_Unmarshal

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

type CreateAncestorManagerResponseValidationError

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

CreateAncestorManagerResponseValidationError is the validation error returned by CreateAncestorManagerResponse.Validate if the designated constraints aren't met.

func (CreateAncestorManagerResponseValidationError) Cause

Cause function returns cause value.

func (CreateAncestorManagerResponseValidationError) Error

Error satisfies the builtin error interface

func (CreateAncestorManagerResponseValidationError) ErrorName

ErrorName returns error name.

func (CreateAncestorManagerResponseValidationError) Field

Field function returns field value.

func (CreateAncestorManagerResponseValidationError) Key

Key function returns key value.

func (CreateAncestorManagerResponseValidationError) Reason

Reason function returns reason value.

type DeleteAncestorManagerRequest

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

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

func (*DeleteAncestorManagerRequest) GetIsSoft

func (m *DeleteAncestorManagerRequest) GetIsSoft() bool

func (*DeleteAncestorManagerRequest) GetUuid

func (m *DeleteAncestorManagerRequest) GetUuid() string

func (*DeleteAncestorManagerRequest) ProtoMessage

func (*DeleteAncestorManagerRequest) ProtoMessage()

func (*DeleteAncestorManagerRequest) Reset

func (m *DeleteAncestorManagerRequest) Reset()

func (*DeleteAncestorManagerRequest) String

func (*DeleteAncestorManagerRequest) Validate

func (m *DeleteAncestorManagerRequest) Validate() error

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

func (*DeleteAncestorManagerRequest) XXX_DiscardUnknown

func (m *DeleteAncestorManagerRequest) XXX_DiscardUnknown()

func (*DeleteAncestorManagerRequest) XXX_Marshal

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

func (*DeleteAncestorManagerRequest) XXX_Merge

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

func (*DeleteAncestorManagerRequest) XXX_Size

func (m *DeleteAncestorManagerRequest) XXX_Size() int

func (*DeleteAncestorManagerRequest) XXX_Unmarshal

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

type DeleteAncestorManagerRequestValidationError

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

DeleteAncestorManagerRequestValidationError is the validation error returned by DeleteAncestorManagerRequest.Validate if the designated constraints aren't met.

func (DeleteAncestorManagerRequestValidationError) Cause

Cause function returns cause value.

func (DeleteAncestorManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (DeleteAncestorManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (DeleteAncestorManagerRequestValidationError) Field

Field function returns field value.

func (DeleteAncestorManagerRequestValidationError) Key

Key function returns key value.

func (DeleteAncestorManagerRequestValidationError) Reason

Reason function returns reason value.

type GetAncestorManagerRequest

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

func (*GetAncestorManagerRequest) Descriptor

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

func (*GetAncestorManagerRequest) GetUuid

func (m *GetAncestorManagerRequest) GetUuid() string

func (*GetAncestorManagerRequest) ProtoMessage

func (*GetAncestorManagerRequest) ProtoMessage()

func (*GetAncestorManagerRequest) Reset

func (m *GetAncestorManagerRequest) Reset()

func (*GetAncestorManagerRequest) String

func (m *GetAncestorManagerRequest) String() string

func (*GetAncestorManagerRequest) Validate

func (m *GetAncestorManagerRequest) Validate() error

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

func (*GetAncestorManagerRequest) XXX_DiscardUnknown

func (m *GetAncestorManagerRequest) XXX_DiscardUnknown()

func (*GetAncestorManagerRequest) XXX_Marshal

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

func (*GetAncestorManagerRequest) XXX_Merge

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

func (*GetAncestorManagerRequest) XXX_Size

func (m *GetAncestorManagerRequest) XXX_Size() int

func (*GetAncestorManagerRequest) XXX_Unmarshal

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

type GetAncestorManagerRequestValidationError

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

GetAncestorManagerRequestValidationError is the validation error returned by GetAncestorManagerRequest.Validate if the designated constraints aren't met.

func (GetAncestorManagerRequestValidationError) Cause

Cause function returns cause value.

func (GetAncestorManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (GetAncestorManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (GetAncestorManagerRequestValidationError) Field

Field function returns field value.

func (GetAncestorManagerRequestValidationError) Key

Key function returns key value.

func (GetAncestorManagerRequestValidationError) Reason

Reason function returns reason value.

type GetAncestorManagerResponse

type GetAncestorManagerResponse struct {
	Data *ancestor.AncestorAdminItem `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
}

func (*GetAncestorManagerResponse) Descriptor

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

func (*GetAncestorManagerResponse) GetData

func (*GetAncestorManagerResponse) ProtoMessage

func (*GetAncestorManagerResponse) ProtoMessage()

func (*GetAncestorManagerResponse) Reset

func (m *GetAncestorManagerResponse) Reset()

func (*GetAncestorManagerResponse) String

func (m *GetAncestorManagerResponse) String() string

func (*GetAncestorManagerResponse) Validate

func (m *GetAncestorManagerResponse) Validate() error

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

func (*GetAncestorManagerResponse) XXX_DiscardUnknown

func (m *GetAncestorManagerResponse) XXX_DiscardUnknown()

func (*GetAncestorManagerResponse) XXX_Marshal

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

func (*GetAncestorManagerResponse) XXX_Merge

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

func (*GetAncestorManagerResponse) XXX_Size

func (m *GetAncestorManagerResponse) XXX_Size() int

func (*GetAncestorManagerResponse) XXX_Unmarshal

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

type GetAncestorManagerResponseValidationError

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

GetAncestorManagerResponseValidationError is the validation error returned by GetAncestorManagerResponse.Validate if the designated constraints aren't met.

func (GetAncestorManagerResponseValidationError) Cause

Cause function returns cause value.

func (GetAncestorManagerResponseValidationError) Error

Error satisfies the builtin error interface

func (GetAncestorManagerResponseValidationError) ErrorName

ErrorName returns error name.

func (GetAncestorManagerResponseValidationError) Field

Field function returns field value.

func (GetAncestorManagerResponseValidationError) Key

Key function returns key value.

func (GetAncestorManagerResponseValidationError) Reason

Reason function returns reason value.

type PaginateAncestorManagerRequest

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

func (*PaginateAncestorManagerRequest) Descriptor

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

func (*PaginateAncestorManagerRequest) GetFilter

func (*PaginateAncestorManagerRequest) GetLimit

func (m *PaginateAncestorManagerRequest) GetLimit() int64

func (*PaginateAncestorManagerRequest) GetSkip

func (*PaginateAncestorManagerRequest) GetSort

func (*PaginateAncestorManagerRequest) ProtoMessage

func (*PaginateAncestorManagerRequest) ProtoMessage()

func (*PaginateAncestorManagerRequest) Reset

func (m *PaginateAncestorManagerRequest) Reset()

func (*PaginateAncestorManagerRequest) String

func (*PaginateAncestorManagerRequest) Validate

func (m *PaginateAncestorManagerRequest) Validate() error

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

func (*PaginateAncestorManagerRequest) XXX_DiscardUnknown

func (m *PaginateAncestorManagerRequest) XXX_DiscardUnknown()

func (*PaginateAncestorManagerRequest) XXX_Marshal

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

func (*PaginateAncestorManagerRequest) XXX_Merge

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

func (*PaginateAncestorManagerRequest) XXX_Size

func (m *PaginateAncestorManagerRequest) XXX_Size() int

func (*PaginateAncestorManagerRequest) XXX_Unmarshal

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

type PaginateAncestorManagerRequestValidationError

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

PaginateAncestorManagerRequestValidationError is the validation error returned by PaginateAncestorManagerRequest.Validate if the designated constraints aren't met.

func (PaginateAncestorManagerRequestValidationError) Cause

Cause function returns cause value.

func (PaginateAncestorManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (PaginateAncestorManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (PaginateAncestorManagerRequestValidationError) Field

Field function returns field value.

func (PaginateAncestorManagerRequestValidationError) Key

Key function returns key value.

func (PaginateAncestorManagerRequestValidationError) Reason

Reason function returns reason value.

type PaginateAncestorManagerRequest_Filter

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

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

func (*PaginateAncestorManagerRequest_Filter) GetIsActive

func (*PaginateAncestorManagerRequest_Filter) GetIsDeleted

func (*PaginateAncestorManagerRequest_Filter) ProtoMessage

func (*PaginateAncestorManagerRequest_Filter) ProtoMessage()

func (*PaginateAncestorManagerRequest_Filter) Reset

func (*PaginateAncestorManagerRequest_Filter) String

func (*PaginateAncestorManagerRequest_Filter) Validate

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

func (*PaginateAncestorManagerRequest_Filter) XXX_DiscardUnknown

func (m *PaginateAncestorManagerRequest_Filter) XXX_DiscardUnknown()

func (*PaginateAncestorManagerRequest_Filter) XXX_Marshal

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

func (*PaginateAncestorManagerRequest_Filter) XXX_Merge

func (*PaginateAncestorManagerRequest_Filter) XXX_Size

func (*PaginateAncestorManagerRequest_Filter) XXX_Unmarshal

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

type PaginateAncestorManagerRequest_FilterValidationError

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

PaginateAncestorManagerRequest_FilterValidationError is the validation error returned by PaginateAncestorManagerRequest_Filter.Validate if the designated constraints aren't met.

func (PaginateAncestorManagerRequest_FilterValidationError) Cause

Cause function returns cause value.

func (PaginateAncestorManagerRequest_FilterValidationError) Error

Error satisfies the builtin error interface

func (PaginateAncestorManagerRequest_FilterValidationError) ErrorName

ErrorName returns error name.

func (PaginateAncestorManagerRequest_FilterValidationError) Field

Field function returns field value.

func (PaginateAncestorManagerRequest_FilterValidationError) Key

Key function returns key value.

func (PaginateAncestorManagerRequest_FilterValidationError) Reason

Reason function returns reason value.

type PaginateAncestorManagerResponse

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

func (*PaginateAncestorManagerResponse) Descriptor

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

func (*PaginateAncestorManagerResponse) GetData

func (*PaginateAncestorManagerResponse) GetLimit

func (m *PaginateAncestorManagerResponse) GetLimit() int64

func (*PaginateAncestorManagerResponse) GetSkip

func (*PaginateAncestorManagerResponse) GetTotal

func (m *PaginateAncestorManagerResponse) GetTotal() int64

func (*PaginateAncestorManagerResponse) ProtoMessage

func (*PaginateAncestorManagerResponse) ProtoMessage()

func (*PaginateAncestorManagerResponse) Reset

func (*PaginateAncestorManagerResponse) String

func (*PaginateAncestorManagerResponse) Validate

func (m *PaginateAncestorManagerResponse) Validate() error

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

func (*PaginateAncestorManagerResponse) XXX_DiscardUnknown

func (m *PaginateAncestorManagerResponse) XXX_DiscardUnknown()

func (*PaginateAncestorManagerResponse) XXX_Marshal

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

func (*PaginateAncestorManagerResponse) XXX_Merge

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

func (*PaginateAncestorManagerResponse) XXX_Size

func (m *PaginateAncestorManagerResponse) XXX_Size() int

func (*PaginateAncestorManagerResponse) XXX_Unmarshal

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

type PaginateAncestorManagerResponseValidationError

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

PaginateAncestorManagerResponseValidationError is the validation error returned by PaginateAncestorManagerResponse.Validate if the designated constraints aren't met.

func (PaginateAncestorManagerResponseValidationError) Cause

Cause function returns cause value.

func (PaginateAncestorManagerResponseValidationError) Error

Error satisfies the builtin error interface

func (PaginateAncestorManagerResponseValidationError) ErrorName

ErrorName returns error name.

func (PaginateAncestorManagerResponseValidationError) Field

Field function returns field value.

func (PaginateAncestorManagerResponseValidationError) Key

Key function returns key value.

func (PaginateAncestorManagerResponseValidationError) Reason

Reason function returns reason value.

type UpdateAncestorManagerRequest

type UpdateAncestorManagerRequest struct {
	Data *ancestor.AncestorAdminItem `protobuf:"bytes,1,opt,name=data,proto3" json:"data"`
}

func (*UpdateAncestorManagerRequest) Descriptor

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

func (*UpdateAncestorManagerRequest) GetData

func (*UpdateAncestorManagerRequest) ProtoMessage

func (*UpdateAncestorManagerRequest) ProtoMessage()

func (*UpdateAncestorManagerRequest) Reset

func (m *UpdateAncestorManagerRequest) Reset()

func (*UpdateAncestorManagerRequest) String

func (*UpdateAncestorManagerRequest) Validate

func (m *UpdateAncestorManagerRequest) Validate() error

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

func (*UpdateAncestorManagerRequest) XXX_DiscardUnknown

func (m *UpdateAncestorManagerRequest) XXX_DiscardUnknown()

func (*UpdateAncestorManagerRequest) XXX_Marshal

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

func (*UpdateAncestorManagerRequest) XXX_Merge

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

func (*UpdateAncestorManagerRequest) XXX_Size

func (m *UpdateAncestorManagerRequest) XXX_Size() int

func (*UpdateAncestorManagerRequest) XXX_Unmarshal

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

type UpdateAncestorManagerRequestValidationError

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

UpdateAncestorManagerRequestValidationError is the validation error returned by UpdateAncestorManagerRequest.Validate if the designated constraints aren't met.

func (UpdateAncestorManagerRequestValidationError) Cause

Cause function returns cause value.

func (UpdateAncestorManagerRequestValidationError) Error

Error satisfies the builtin error interface

func (UpdateAncestorManagerRequestValidationError) ErrorName

ErrorName returns error name.

func (UpdateAncestorManagerRequestValidationError) Field

Field function returns field value.

func (UpdateAncestorManagerRequestValidationError) Key

Key function returns key value.

func (UpdateAncestorManagerRequestValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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