Documentation ¶
Index ¶
- type LogisticCtlr
- func (ctlr *LogisticCtlr) GetSummary(ctx context.Context, req *serverApi.DefaultRequest) (*serverApi.SummaryResponse, error)
- func (ctlr *LogisticCtlr) MoveUnit(ctx context.Context, req *serverApi.MoveUnitRequest) (*serverApi.DefaultResponse, error)
- func (ctlr *LogisticCtlr) UnitReachedWarehouse(ctx context.Context, req *serverApi.UnitReachedWarehouseRequest) (*serverApi.DefaultResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogisticCtlr ¶
type LogisticCtlr struct { serverApi.UnimplementedCoopLogisticsEngineAPIServer // contains filtered or unexported fields }
func NewLogisticController ¶
func NewLogisticController(svc ticker.SummaryInt) *LogisticCtlr
func (*LogisticCtlr) GetSummary ¶
func (ctlr *LogisticCtlr) GetSummary(ctx context.Context, req *serverApi.DefaultRequest) (*serverApi.SummaryResponse, error)
func (*LogisticCtlr) MoveUnit ¶
func (ctlr *LogisticCtlr) MoveUnit(ctx context.Context, req *serverApi.MoveUnitRequest) (*serverApi.DefaultResponse, error)
func (*LogisticCtlr) UnitReachedWarehouse ¶
func (ctlr *LogisticCtlr) UnitReachedWarehouse(ctx context.Context, req *serverApi.UnitReachedWarehouseRequest) (*serverApi.DefaultResponse, error)
Click to show internal directories.
Click to hide internal directories.