exporter

package
v0.6.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: 22 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewExporterServiceEndpoints

func NewExporterServiceEndpoints() []*api.Endpoint

func RegisterExporterServiceHandler

func RegisterExporterServiceHandler(s server.Server, hdlr ExporterServiceHandler, opts ...server.HandlerOption) error

Types

type ExporterService

type ExporterService interface {
	Menu(ctx context.Context, in *empty.Empty, opts ...client.CallOption) (*MenuExproterResponse, error)
	OrderStatus(ctx context.Context, in *OrderStatusRequest, opts ...client.CallOption) (*OrderStatusResponse, error)
	SelectDivision(ctx context.Context, in *empty.Empty, opts ...client.CallOption) (*SelectDivisionResponse, error)
	SelectKeyData(ctx context.Context, in *empty.Empty, opts ...client.CallOption) (*SelectKeyDataResponse, error)
}

func NewExporterService

func NewExporterService(name string, c client.Client) ExporterService
type MenuExproterResponse struct {
	Products   string `protobuf:"bytes,1,opt,name=products,proto3" json:"products"`
	Categories string `protobuf:"bytes,2,opt,name=categories,proto3" json:"categories"`
}
func (*MenuExproterResponse) Descriptor() ([]byte, []int)
func (m *MenuExproterResponse) GetCategories() string
func (m *MenuExproterResponse) GetProducts() string
func (*MenuExproterResponse) ProtoMessage()
func (m *MenuExproterResponse) Reset()
func (m *MenuExproterResponse) String() string
func (m *MenuExproterResponse) Validate() error

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

func (m *MenuExproterResponse) XXX_DiscardUnknown()
func (m *MenuExproterResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (m *MenuExproterResponse) XXX_Merge(src proto.Message)
func (m *MenuExproterResponse) XXX_Size() int
func (m *MenuExproterResponse) XXX_Unmarshal(b []byte) error
type MenuExproterResponseValidationError struct {
	// contains filtered or unexported fields
}

MenuExproterResponseValidationError is the validation error returned by MenuExproterResponse.Validate if the designated constraints aren't met.

Cause function returns cause value.

Error satisfies the builtin error interface

ErrorName returns error name.

Field function returns field value.

Key function returns key value.

Reason function returns reason value.

type OrderStatusRequest

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

func (*OrderStatusRequest) Descriptor

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

func (*OrderStatusRequest) GetUuid

func (m *OrderStatusRequest) GetUuid() string

func (*OrderStatusRequest) ProtoMessage

func (*OrderStatusRequest) ProtoMessage()

func (*OrderStatusRequest) Reset

func (m *OrderStatusRequest) Reset()

func (*OrderStatusRequest) String

func (m *OrderStatusRequest) String() string

func (*OrderStatusRequest) Validate

func (m *OrderStatusRequest) Validate() error

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

func (*OrderStatusRequest) XXX_DiscardUnknown

func (m *OrderStatusRequest) XXX_DiscardUnknown()

func (*OrderStatusRequest) XXX_Marshal

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

func (*OrderStatusRequest) XXX_Merge

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

func (*OrderStatusRequest) XXX_Size

func (m *OrderStatusRequest) XXX_Size() int

func (*OrderStatusRequest) XXX_Unmarshal

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

type OrderStatusRequestValidationError

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

OrderStatusRequestValidationError is the validation error returned by OrderStatusRequest.Validate if the designated constraints aren't met.

func (OrderStatusRequestValidationError) Cause

Cause function returns cause value.

func (OrderStatusRequestValidationError) Error

Error satisfies the builtin error interface

func (OrderStatusRequestValidationError) ErrorName

ErrorName returns error name.

func (OrderStatusRequestValidationError) Field

Field function returns field value.

func (OrderStatusRequestValidationError) Key

Key function returns key value.

func (OrderStatusRequestValidationError) Reason

Reason function returns reason value.

type OrderStatusResponse

type OrderStatusResponse struct {
	Code int64  `protobuf:"varint,1,opt,name=code,proto3" json:"code"`
	Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text"`
}

func (*OrderStatusResponse) Descriptor

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

func (*OrderStatusResponse) GetCode

func (m *OrderStatusResponse) GetCode() int64

func (*OrderStatusResponse) GetText

func (m *OrderStatusResponse) GetText() string

func (*OrderStatusResponse) ProtoMessage

func (*OrderStatusResponse) ProtoMessage()

func (*OrderStatusResponse) Reset

func (m *OrderStatusResponse) Reset()

func (*OrderStatusResponse) String

func (m *OrderStatusResponse) String() string

func (*OrderStatusResponse) Validate

func (m *OrderStatusResponse) Validate() error

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

func (*OrderStatusResponse) XXX_DiscardUnknown

func (m *OrderStatusResponse) XXX_DiscardUnknown()

func (*OrderStatusResponse) XXX_Marshal

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

func (*OrderStatusResponse) XXX_Merge

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

func (*OrderStatusResponse) XXX_Size

func (m *OrderStatusResponse) XXX_Size() int

func (*OrderStatusResponse) XXX_Unmarshal

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

type OrderStatusResponseValidationError

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

OrderStatusResponseValidationError is the validation error returned by OrderStatusResponse.Validate if the designated constraints aren't met.

func (OrderStatusResponseValidationError) Cause

Cause function returns cause value.

func (OrderStatusResponseValidationError) Error

Error satisfies the builtin error interface

func (OrderStatusResponseValidationError) ErrorName

ErrorName returns error name.

func (OrderStatusResponseValidationError) Field

Field function returns field value.

func (OrderStatusResponseValidationError) Key

Key function returns key value.

func (OrderStatusResponseValidationError) Reason

Reason function returns reason value.

type SelectDivisionResponse

type SelectDivisionResponse struct {
	Data []*SelectDivisionResponse_Data `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
}

func (*SelectDivisionResponse) Descriptor

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

func (*SelectDivisionResponse) GetData

func (*SelectDivisionResponse) ProtoMessage

func (*SelectDivisionResponse) ProtoMessage()

func (*SelectDivisionResponse) Reset

func (m *SelectDivisionResponse) Reset()

func (*SelectDivisionResponse) String

func (m *SelectDivisionResponse) String() string

func (*SelectDivisionResponse) Validate

func (m *SelectDivisionResponse) Validate() error

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

func (*SelectDivisionResponse) XXX_DiscardUnknown

func (m *SelectDivisionResponse) XXX_DiscardUnknown()

func (*SelectDivisionResponse) XXX_Marshal

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

func (*SelectDivisionResponse) XXX_Merge

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

func (*SelectDivisionResponse) XXX_Size

func (m *SelectDivisionResponse) XXX_Size() int

func (*SelectDivisionResponse) XXX_Unmarshal

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

type SelectDivisionResponseValidationError

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

SelectDivisionResponseValidationError is the validation error returned by SelectDivisionResponse.Validate if the designated constraints aren't met.

func (SelectDivisionResponseValidationError) Cause

Cause function returns cause value.

func (SelectDivisionResponseValidationError) Error

Error satisfies the builtin error interface

func (SelectDivisionResponseValidationError) ErrorName

ErrorName returns error name.

func (SelectDivisionResponseValidationError) Field

Field function returns field value.

func (SelectDivisionResponseValidationError) Key

Key function returns key value.

func (SelectDivisionResponseValidationError) Reason

Reason function returns reason value.

type SelectDivisionResponse_Data

type SelectDivisionResponse_Data struct {
	Uuid   string `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid"`
	Name   string `protobuf:"bytes,2,opt,name=name,proto3" json:"name"`
	OpenAt string `protobuf:"bytes,3,opt,name=open_at,json=openAt,proto3" json:"open_at"`
}

func (*SelectDivisionResponse_Data) Descriptor

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

func (*SelectDivisionResponse_Data) GetName

func (m *SelectDivisionResponse_Data) GetName() string

func (*SelectDivisionResponse_Data) GetOpenAt

func (m *SelectDivisionResponse_Data) GetOpenAt() string

func (*SelectDivisionResponse_Data) GetUuid

func (m *SelectDivisionResponse_Data) GetUuid() string

func (*SelectDivisionResponse_Data) ProtoMessage

func (*SelectDivisionResponse_Data) ProtoMessage()

func (*SelectDivisionResponse_Data) Reset

func (m *SelectDivisionResponse_Data) Reset()

func (*SelectDivisionResponse_Data) String

func (m *SelectDivisionResponse_Data) String() string

func (*SelectDivisionResponse_Data) Validate

func (m *SelectDivisionResponse_Data) Validate() error

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

func (*SelectDivisionResponse_Data) XXX_DiscardUnknown

func (m *SelectDivisionResponse_Data) XXX_DiscardUnknown()

func (*SelectDivisionResponse_Data) XXX_Marshal

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

func (*SelectDivisionResponse_Data) XXX_Merge

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

func (*SelectDivisionResponse_Data) XXX_Size

func (m *SelectDivisionResponse_Data) XXX_Size() int

func (*SelectDivisionResponse_Data) XXX_Unmarshal

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

type SelectDivisionResponse_DataValidationError

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

SelectDivisionResponse_DataValidationError is the validation error returned by SelectDivisionResponse_Data.Validate if the designated constraints aren't met.

func (SelectDivisionResponse_DataValidationError) Cause

Cause function returns cause value.

func (SelectDivisionResponse_DataValidationError) Error

Error satisfies the builtin error interface

func (SelectDivisionResponse_DataValidationError) ErrorName

ErrorName returns error name.

func (SelectDivisionResponse_DataValidationError) Field

Field function returns field value.

func (SelectDivisionResponse_DataValidationError) Key

Key function returns key value.

func (SelectDivisionResponse_DataValidationError) Reason

Reason function returns reason value.

type SelectKeyDataResponse

type SelectKeyDataResponse struct {
	Data []*SelectKeyDataResponse_Data `protobuf:"bytes,1,rep,name=data,proto3" json:"data"`
}

func (*SelectKeyDataResponse) Descriptor

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

func (*SelectKeyDataResponse) GetData

func (*SelectKeyDataResponse) ProtoMessage

func (*SelectKeyDataResponse) ProtoMessage()

func (*SelectKeyDataResponse) Reset

func (m *SelectKeyDataResponse) Reset()

func (*SelectKeyDataResponse) String

func (m *SelectKeyDataResponse) String() string

func (*SelectKeyDataResponse) Validate

func (m *SelectKeyDataResponse) Validate() error

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

func (*SelectKeyDataResponse) XXX_DiscardUnknown

func (m *SelectKeyDataResponse) XXX_DiscardUnknown()

func (*SelectKeyDataResponse) XXX_Marshal

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

func (*SelectKeyDataResponse) XXX_Merge

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

func (*SelectKeyDataResponse) XXX_Size

func (m *SelectKeyDataResponse) XXX_Size() int

func (*SelectKeyDataResponse) XXX_Unmarshal

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

type SelectKeyDataResponseValidationError

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

SelectKeyDataResponseValidationError is the validation error returned by SelectKeyDataResponse.Validate if the designated constraints aren't met.

func (SelectKeyDataResponseValidationError) Cause

Cause function returns cause value.

func (SelectKeyDataResponseValidationError) Error

Error satisfies the builtin error interface

func (SelectKeyDataResponseValidationError) ErrorName

ErrorName returns error name.

func (SelectKeyDataResponseValidationError) Field

Field function returns field value.

func (SelectKeyDataResponseValidationError) Key

Key function returns key value.

func (SelectKeyDataResponseValidationError) Reason

Reason function returns reason value.

type SelectKeyDataResponse_Data

type SelectKeyDataResponse_Data struct {
	Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type"`
	Uuid string `protobuf:"bytes,2,opt,name=uuid,proto3" json:"uuid"`
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name"`
}

func (*SelectKeyDataResponse_Data) Descriptor

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

func (*SelectKeyDataResponse_Data) GetName

func (m *SelectKeyDataResponse_Data) GetName() string

func (*SelectKeyDataResponse_Data) GetType

func (m *SelectKeyDataResponse_Data) GetType() string

func (*SelectKeyDataResponse_Data) GetUuid

func (m *SelectKeyDataResponse_Data) GetUuid() string

func (*SelectKeyDataResponse_Data) ProtoMessage

func (*SelectKeyDataResponse_Data) ProtoMessage()

func (*SelectKeyDataResponse_Data) Reset

func (m *SelectKeyDataResponse_Data) Reset()

func (*SelectKeyDataResponse_Data) String

func (m *SelectKeyDataResponse_Data) String() string

func (*SelectKeyDataResponse_Data) Validate

func (m *SelectKeyDataResponse_Data) Validate() error

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

func (*SelectKeyDataResponse_Data) XXX_DiscardUnknown

func (m *SelectKeyDataResponse_Data) XXX_DiscardUnknown()

func (*SelectKeyDataResponse_Data) XXX_Marshal

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

func (*SelectKeyDataResponse_Data) XXX_Merge

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

func (*SelectKeyDataResponse_Data) XXX_Size

func (m *SelectKeyDataResponse_Data) XXX_Size() int

func (*SelectKeyDataResponse_Data) XXX_Unmarshal

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

type SelectKeyDataResponse_DataValidationError

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

SelectKeyDataResponse_DataValidationError is the validation error returned by SelectKeyDataResponse_Data.Validate if the designated constraints aren't met.

func (SelectKeyDataResponse_DataValidationError) Cause

Cause function returns cause value.

func (SelectKeyDataResponse_DataValidationError) Error

Error satisfies the builtin error interface

func (SelectKeyDataResponse_DataValidationError) ErrorName

ErrorName returns error name.

func (SelectKeyDataResponse_DataValidationError) Field

Field function returns field value.

func (SelectKeyDataResponse_DataValidationError) Key

Key function returns key value.

func (SelectKeyDataResponse_DataValidationError) Reason

Reason function returns reason value.

Jump to

Keyboard shortcuts

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