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: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewMenuServiceEndpoints

func NewMenuServiceEndpoints() []*api.Endpoint

func RegisterMenuServiceHandler

func RegisterMenuServiceHandler(s server.Server, hdlr MenuServiceHandler, opts ...server.HandlerOption) error

Types

type ImportMenuResponse

type ImportMenuResponse struct {
	Ancestors []*ImportMenuResponse_Ancestor `protobuf:"bytes,1,rep,name=ancestors,proto3" json:"ancestors"`
}

func (*ImportMenuResponse) Descriptor

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

func (*ImportMenuResponse) GetAncestors

func (m *ImportMenuResponse) GetAncestors() []*ImportMenuResponse_Ancestor

func (*ImportMenuResponse) ProtoMessage

func (*ImportMenuResponse) ProtoMessage()

func (*ImportMenuResponse) Reset

func (m *ImportMenuResponse) Reset()

func (*ImportMenuResponse) String

func (m *ImportMenuResponse) String() string

func (*ImportMenuResponse) Validate

func (m *ImportMenuResponse) Validate() error

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

func (*ImportMenuResponse) XXX_DiscardUnknown

func (m *ImportMenuResponse) XXX_DiscardUnknown()

func (*ImportMenuResponse) XXX_Marshal

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

func (*ImportMenuResponse) XXX_Merge

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

func (*ImportMenuResponse) XXX_Size

func (m *ImportMenuResponse) XXX_Size() int

func (*ImportMenuResponse) XXX_Unmarshal

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

type ImportMenuResponseValidationError

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

ImportMenuResponseValidationError is the validation error returned by ImportMenuResponse.Validate if the designated constraints aren't met.

func (ImportMenuResponseValidationError) Cause

Cause function returns cause value.

func (ImportMenuResponseValidationError) Error

Error satisfies the builtin error interface

func (ImportMenuResponseValidationError) ErrorName

ErrorName returns error name.

func (ImportMenuResponseValidationError) Field

Field function returns field value.

func (ImportMenuResponseValidationError) Key

Key function returns key value.

func (ImportMenuResponseValidationError) Reason

Reason function returns reason value.

type ImportMenuResponse_Ancestor

type ImportMenuResponse_Ancestor struct {
	Uuid       string   `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"`
	Info       string   `protobuf:"bytes,2,opt,name=info,proto3" json:"info"`
	Categories []string `protobuf:"bytes,3,rep,name=categories,proto3" json:"categories"`
	Products   []string `protobuf:"bytes,4,rep,name=products,proto3" json:"products"`
	Status     string   `protobuf:"bytes,5,opt,name=status,proto3" json:"status"`
}

func (*ImportMenuResponse_Ancestor) Descriptor

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

func (*ImportMenuResponse_Ancestor) GetCategories

func (m *ImportMenuResponse_Ancestor) GetCategories() []string

func (*ImportMenuResponse_Ancestor) GetInfo

func (m *ImportMenuResponse_Ancestor) GetInfo() string

func (*ImportMenuResponse_Ancestor) GetProducts

func (m *ImportMenuResponse_Ancestor) GetProducts() []string

func (*ImportMenuResponse_Ancestor) GetStatus

func (m *ImportMenuResponse_Ancestor) GetStatus() string

func (*ImportMenuResponse_Ancestor) GetUuid

func (m *ImportMenuResponse_Ancestor) GetUuid() string

func (*ImportMenuResponse_Ancestor) ProtoMessage

func (*ImportMenuResponse_Ancestor) ProtoMessage()

func (*ImportMenuResponse_Ancestor) Reset

func (m *ImportMenuResponse_Ancestor) Reset()

func (*ImportMenuResponse_Ancestor) String

func (m *ImportMenuResponse_Ancestor) String() string

func (*ImportMenuResponse_Ancestor) Validate

func (m *ImportMenuResponse_Ancestor) Validate() error

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

func (*ImportMenuResponse_Ancestor) XXX_DiscardUnknown

func (m *ImportMenuResponse_Ancestor) XXX_DiscardUnknown()

func (*ImportMenuResponse_Ancestor) XXX_Marshal

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

func (*ImportMenuResponse_Ancestor) XXX_Merge

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

func (*ImportMenuResponse_Ancestor) XXX_Size

func (m *ImportMenuResponse_Ancestor) XXX_Size() int

func (*ImportMenuResponse_Ancestor) XXX_Unmarshal

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

type ImportMenuResponse_AncestorValidationError

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

ImportMenuResponse_AncestorValidationError is the validation error returned by ImportMenuResponse_Ancestor.Validate if the designated constraints aren't met.

func (ImportMenuResponse_AncestorValidationError) Cause

Cause function returns cause value.

func (ImportMenuResponse_AncestorValidationError) Error

Error satisfies the builtin error interface

func (ImportMenuResponse_AncestorValidationError) ErrorName

ErrorName returns error name.

func (ImportMenuResponse_AncestorValidationError) Field

Field function returns field value.

func (ImportMenuResponse_AncestorValidationError) Key

Key function returns key value.

func (ImportMenuResponse_AncestorValidationError) Reason

Reason function returns reason value.

type MenuService interface {
	Import(ctx context.Context, in *empty.Empty, opts ...client.CallOption) (*ImportMenuResponse, error)
}

func NewMenuService

func NewMenuService(name string, c client.Client) MenuService
type MenuServiceHandler interface {
	Import(context.Context, *empty.Empty, *ImportMenuResponse) error
}

Jump to

Keyboard shortcuts

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