Documentation
¶
Index ¶
- func FetchJWT(context *gin.Context)
- type GeneralControllerTestSuite
- func (suite *GeneralControllerTestSuite) Delete(url string, args ...interface{}) *httptest.ResponseRecorder
- func (suite *GeneralControllerTestSuite) Get(url string, args ...interface{}) *httptest.ResponseRecorder
- func (suite *GeneralControllerTestSuite) Patch(url string, body interface{}, args ...interface{}) *httptest.ResponseRecorder
- func (suite *GeneralControllerTestSuite) Post(url string, body interface{}, args ...interface{}) *httptest.ResponseRecorder
- func (suite *GeneralControllerTestSuite) Put(url string, body interface{}, args ...interface{}) *httptest.ResponseRecorder
- type IController
- func NewBulkActionsController(db *gorm.DB) IController
- func NewCarrierController(service services.ICarrierService) IController
- func NewPingController() IController
- func NewReservationController(service services.IInventoryService) IController
- func NewSKUController(db *gorm.DB) IController
- func NewShipmentController(shipmentService services.IShipmentService) IController
- func NewShippingMethodController(service services.IShippingMethodService) IController
- func NewStockItemController(service services.IInventoryService) IController
- func NewStockLocationController(service services.IStockLocationService) IController
- func NewSummaryController(service services.ISummaryService) IController
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type GeneralControllerTestSuite ¶
func (*GeneralControllerTestSuite) Delete ¶
func (suite *GeneralControllerTestSuite) Delete(url string, args ...interface{}) *httptest.ResponseRecorder
func (*GeneralControllerTestSuite) Get ¶
func (suite *GeneralControllerTestSuite) Get(url string, args ...interface{}) *httptest.ResponseRecorder
func (*GeneralControllerTestSuite) Patch ¶
func (suite *GeneralControllerTestSuite) Patch(url string, body interface{}, args ...interface{}) *httptest.ResponseRecorder
func (*GeneralControllerTestSuite) Post ¶
func (suite *GeneralControllerTestSuite) Post(url string, body interface{}, args ...interface{}) *httptest.ResponseRecorder
func (*GeneralControllerTestSuite) Put ¶
func (suite *GeneralControllerTestSuite) Put(url string, body interface{}, args ...interface{}) *httptest.ResponseRecorder
type IController ¶
func NewBulkActionsController ¶
func NewBulkActionsController(db *gorm.DB) IController
func NewCarrierController ¶
func NewCarrierController(service services.ICarrierService) IController
func NewPingController ¶
func NewPingController() IController
func NewReservationController ¶
func NewReservationController(service services.IInventoryService) IController
func NewSKUController ¶
func NewSKUController(db *gorm.DB) IController
func NewShipmentController ¶
func NewShipmentController( shipmentService services.IShipmentService, ) IController
func NewShippingMethodController ¶
func NewShippingMethodController(service services.IShippingMethodService) IController
func NewStockItemController ¶
func NewStockItemController(service services.IInventoryService) IController
func NewStockLocationController ¶
func NewStockLocationController(service services.IStockLocationService) IController
func NewSummaryController ¶
func NewSummaryController(service services.ISummaryService) IController
Source Files
¶
Click to show internal directories.
Click to hide internal directories.