Documentation ¶
Index ¶
- func Init(s micro.Service, c *dig.Container) error
- type ExporterHandler
- func (h *ExporterHandler) Menu(ctx context.Context, req *empty.Empty, rsp *rpc_exporter.MenuExproterResponse) error
- func (h *ExporterHandler) OrderStatus(ctx context.Context, req *rpc_exporter.OrderStatusRequest, ...) error
- func (h *ExporterHandler) SelectDivision(ctx context.Context, req *empty.Empty, ...) error
- func (h *ExporterHandler) SelectKeyData(ctx context.Context, req *empty.Empty, rsp *rpc_exporter.SelectKeyDataResponse) error
- type ImporterHandler
- func (h *ImporterHandler) Order(ctx context.Context, req *rpc_importer.OrderImporterRequest, rsp *empty.Empty) error
- func (h *ImporterHandler) OrderCancel(ctx context.Context, req *rpc_importer.OrderCancelRequest, rsp *empty.Empty) error
- func (h *ImporterHandler) OrderConfirm(ctx context.Context, req *rpc_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, core *plugin_core.Plugin, ) *ExporterHandler
NewExproterHandler ...
func (*ExporterHandler) Menu ¶
func (h *ExporterHandler) Menu(ctx context.Context, req *empty.Empty, rsp *rpc_exporter.MenuExproterResponse) error
Menu ...
func (*ExporterHandler) OrderStatus ¶
func (h *ExporterHandler) OrderStatus(ctx context.Context, req *rpc_exporter.OrderStatusRequest, rsp *rpc_exporter.OrderStatusResponse) error
OrderStatus ...
func (*ExporterHandler) SelectDivision ¶ added in v0.3.0
func (h *ExporterHandler) SelectDivision(ctx context.Context, req *empty.Empty, rsp *rpc_exporter.SelectDivisionResponse) error
SelectDivision ...
func (*ExporterHandler) SelectKeyData ¶ added in v0.3.0
func (h *ExporterHandler) SelectKeyData(ctx context.Context, req *empty.Empty, rsp *rpc_exporter.SelectKeyDataResponse) error
SelectDivision ...
type ImporterHandler ¶
type ImporterHandler struct {
// contains filtered or unexported fields
}
ImporterHandler ...
func NewImporterHandler ¶
func NewImporterHandler( importerService service.ImporterService, core *plugin_core.Plugin, ) *ImporterHandler
NewExproterHandler ...
func (*ImporterHandler) Order ¶
func (h *ImporterHandler) Order(ctx context.Context, req *rpc_importer.OrderImporterRequest, rsp *empty.Empty) error
Order ...
func (*ImporterHandler) OrderCancel ¶ added in v0.3.0
func (h *ImporterHandler) OrderCancel(ctx context.Context, req *rpc_importer.OrderCancelRequest, rsp *empty.Empty) error
OrderCancel ...
func (*ImporterHandler) OrderConfirm ¶ added in v0.3.0
func (h *ImporterHandler) OrderConfirm(ctx context.Context, req *rpc_importer.OrderConfirmRequest, rsp *empty.Empty) error
OrderConfirm ...
Click to show internal directories.
Click to hide internal directories.