Documentation ¶
Index ¶
- func NewMenuServiceEndpoints() []*api.Endpoint
- func RegisterMenuServiceHandler(s server.Server, hdlr MenuServiceHandler, opts ...server.HandlerOption) error
- type ImportMenuResponse
- func (*ImportMenuResponse) Descriptor() ([]byte, []int)
- func (m *ImportMenuResponse) GetAncestors() []*ImportMenuResponse_Ancestor
- func (*ImportMenuResponse) ProtoMessage()
- func (m *ImportMenuResponse) Reset()
- func (m *ImportMenuResponse) String() string
- func (m *ImportMenuResponse) Validate() error
- func (m *ImportMenuResponse) XXX_DiscardUnknown()
- func (m *ImportMenuResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImportMenuResponse) XXX_Merge(src proto.Message)
- func (m *ImportMenuResponse) XXX_Size() int
- func (m *ImportMenuResponse) XXX_Unmarshal(b []byte) error
- type ImportMenuResponseValidationError
- func (e ImportMenuResponseValidationError) Cause() error
- func (e ImportMenuResponseValidationError) Error() string
- func (e ImportMenuResponseValidationError) ErrorName() string
- func (e ImportMenuResponseValidationError) Field() string
- func (e ImportMenuResponseValidationError) Key() bool
- func (e ImportMenuResponseValidationError) Reason() string
- type ImportMenuResponse_Ancestor
- func (*ImportMenuResponse_Ancestor) Descriptor() ([]byte, []int)
- func (m *ImportMenuResponse_Ancestor) GetCategories() []string
- func (m *ImportMenuResponse_Ancestor) GetInfo() string
- func (m *ImportMenuResponse_Ancestor) GetProducts() []string
- func (m *ImportMenuResponse_Ancestor) GetStatus() string
- func (m *ImportMenuResponse_Ancestor) GetUuid() string
- func (*ImportMenuResponse_Ancestor) ProtoMessage()
- func (m *ImportMenuResponse_Ancestor) Reset()
- func (m *ImportMenuResponse_Ancestor) String() string
- func (m *ImportMenuResponse_Ancestor) Validate() error
- func (m *ImportMenuResponse_Ancestor) XXX_DiscardUnknown()
- func (m *ImportMenuResponse_Ancestor) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ImportMenuResponse_Ancestor) XXX_Merge(src proto.Message)
- func (m *ImportMenuResponse_Ancestor) XXX_Size() int
- func (m *ImportMenuResponse_Ancestor) XXX_Unmarshal(b []byte) error
- type ImportMenuResponse_AncestorValidationError
- func (e ImportMenuResponse_AncestorValidationError) Cause() error
- func (e ImportMenuResponse_AncestorValidationError) Error() string
- func (e ImportMenuResponse_AncestorValidationError) ErrorName() string
- func (e ImportMenuResponse_AncestorValidationError) Field() string
- func (e ImportMenuResponse_AncestorValidationError) Key() bool
- func (e ImportMenuResponse_AncestorValidationError) Reason() string
- type MenuService
- type MenuServiceHandler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewMenuServiceEndpoints ¶
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 ¶
func (e ImportMenuResponseValidationError) Cause() error
Cause function returns cause value.
func (ImportMenuResponseValidationError) Error ¶
func (e ImportMenuResponseValidationError) Error() string
Error satisfies the builtin error interface
func (ImportMenuResponseValidationError) ErrorName ¶
func (e ImportMenuResponseValidationError) ErrorName() string
ErrorName returns error name.
func (ImportMenuResponseValidationError) Field ¶
func (e ImportMenuResponseValidationError) Field() string
Field function returns field value.
func (ImportMenuResponseValidationError) Key ¶
func (e ImportMenuResponseValidationError) Key() bool
Key function returns key value.
func (ImportMenuResponseValidationError) Reason ¶
func (e ImportMenuResponseValidationError) Reason() string
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 ¶
func (e ImportMenuResponse_AncestorValidationError) Cause() error
Cause function returns cause value.
func (ImportMenuResponse_AncestorValidationError) Error ¶
func (e ImportMenuResponse_AncestorValidationError) Error() string
Error satisfies the builtin error interface
func (ImportMenuResponse_AncestorValidationError) ErrorName ¶
func (e ImportMenuResponse_AncestorValidationError) ErrorName() string
ErrorName returns error name.
func (ImportMenuResponse_AncestorValidationError) Field ¶
func (e ImportMenuResponse_AncestorValidationError) Field() string
Field function returns field value.
func (ImportMenuResponse_AncestorValidationError) Key ¶
func (e ImportMenuResponse_AncestorValidationError) Key() bool
Key function returns key value.
func (ImportMenuResponse_AncestorValidationError) Reason ¶
func (e ImportMenuResponse_AncestorValidationError) Reason() string
Reason function returns reason value.
type MenuService ¶
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