Documentation
¶
Index ¶
- func Init(s micro.Service, c *dig.Container) error
- type ExporterHandler
- func (h *ExporterHandler) Menu(ctx context.Context, req *empty.Empty, rsp *pb_exporter.MenuExproterResponse) error
- func (h *ExporterHandler) OrderStatus(ctx context.Context, req *pb_exporter.OrderStatusRequest, ...) error
- func (h *ExporterHandler) SelectDivision(ctx context.Context, req *empty.Empty, rsp *pb_exporter.SelectDivisionResponse) error
- func (h *ExporterHandler) SelectKeyData(ctx context.Context, req *empty.Empty, rsp *pb_exporter.SelectKeyDataResponse) error
- type ImporterHandler
- func (h *ImporterHandler) Order(ctx context.Context, req *pb_importer.OrderImporterRequest, rsp *empty.Empty) error
- func (h *ImporterHandler) OrderCancel(ctx context.Context, req *pb_importer.OrderCancelRequest, rsp *empty.Empty) error
- func (h *ImporterHandler) OrderConfirm(ctx context.Context, req *pb_importer.OrderConfirmRequest, rsp *empty.Empty) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type ExporterHandler ¶
type ExporterHandler struct {
// contains filtered or unexported fields
}
ExporterHandler ...
func NewExproterHandler ¶
func NewExproterHandler( exporterService service.ExporterService, ) *ExporterHandler
NewExproterHandler ...
func (*ExporterHandler) Menu ¶
func (h *ExporterHandler) Menu(ctx context.Context, req *empty.Empty, rsp *pb_exporter.MenuExproterResponse) error
Menu ...
func (*ExporterHandler) OrderStatus ¶
func (h *ExporterHandler) OrderStatus(ctx context.Context, req *pb_exporter.OrderStatusRequest, rsp *pb_exporter.OrderStatusResponse) error
OrderStatus ...
func (*ExporterHandler) SelectDivision ¶
func (h *ExporterHandler) SelectDivision(ctx context.Context, req *empty.Empty, rsp *pb_exporter.SelectDivisionResponse) error
SelectDivision ...
func (*ExporterHandler) SelectKeyData ¶
func (h *ExporterHandler) SelectKeyData(ctx context.Context, req *empty.Empty, rsp *pb_exporter.SelectKeyDataResponse) error
SelectDivision ...
type ImporterHandler ¶
type ImporterHandler struct {
// contains filtered or unexported fields
}
ImporterHandler ...
func NewImporterHandler ¶
func NewImporterHandler( importerService service.ImporterService, ) *ImporterHandler
NewExproterHandler ...
func (*ImporterHandler) Order ¶
func (h *ImporterHandler) Order(ctx context.Context, req *pb_importer.OrderImporterRequest, rsp *empty.Empty) error
Order ...
func (*ImporterHandler) OrderCancel ¶
func (h *ImporterHandler) OrderCancel(ctx context.Context, req *pb_importer.OrderCancelRequest, rsp *empty.Empty) error
OrderCancel ...
func (*ImporterHandler) OrderConfirm ¶
func (h *ImporterHandler) OrderConfirm(ctx context.Context, req *pb_importer.OrderConfirmRequest, rsp *empty.Empty) error
OrderConfirm ...
Click to show internal directories.
Click to hide internal directories.