controllers

package
v0.0.0-...-1aaf8f9 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2018 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FetchJWT

func FetchJWT(context *gin.Context)

Types

type GeneralControllerTestSuite

type GeneralControllerTestSuite struct {
	suite.Suite
	// contains filtered or unexported fields
}

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

type IController interface {
	SetUp(router gin.IRouter)
}

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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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