controllers

package
v0.0.0-...-89505e1 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func APIAPPCreate

func APIAPPCreate(context *gin.Context)

func APIAPPDelete

func APIAPPDelete(context *gin.Context)

func APIAPPGetList

func APIAPPGetList(context *gin.Context)

func APIAPPUpdate

func APIAPPUpdate(context *gin.Context)

func APIConfigBind

func APIConfigBind(context *gin.Context)

func APIConfigGetList

func APIConfigGetList(context *gin.Context)

func APIConfigUnBind

func APIConfigUnBind(context *gin.Context)

func APIConfigUpdate

func APIConfigUpdate(context *gin.Context)

func APIGetHome

func APIGetHome(context *gin.Context)

func APIMerchantCreate

func APIMerchantCreate(context *gin.Context)

func APIMerchantDelete

func APIMerchantDelete(context *gin.Context)

func APIMerchantGetList

func APIMerchantGetList(context *gin.Context)

func APIMerchantUpdate

func APIMerchantUpdate(context *gin.Context)

func RecoverResponse

func RecoverResponse(context *gin.Context, action string)

func WebGetHome

func WebGetHome(context *gin.Context)

Types

type APIController

type APIController struct {
	ServiceUser *service.UserService
	Context     *gin.Context
	RS          *APIResponse
}

func NewAPIController

func NewAPIController(context *gin.Context) *APIController

type AppAPIController

type AppAPIController struct {
	*APIController
	ServiceApp *AppService
}

func NewAppAPIController

func NewAppAPIController(c *gin.Context) (ctl *AppAPIController)

type ConfigAPIController

type ConfigAPIController struct {
	*APIController
	ServiceConfig *ConfigService
}

func NewConfigAPIController

func NewConfigAPIController() (ctl *ConfigAPIController)

type MerchantAPIController

type MerchantAPIController struct {
	ServiceMerchant *MerchantService
}

func NewMerchantAPIController

func NewMerchantAPIController() (ctl *MerchantAPIController)

type WelcomeAPIController

type WelcomeAPIController struct {
	ServiceWelcomeAPI *WelcomeService
}

func NewWelcomeAPIController

func NewWelcomeAPIController() (ctl *WelcomeAPIController)

type WelcomeController

type WelcomeController struct {
	ServiceWelcome *WelcomeService
}

func NewWelcomeController

func NewWelcomeController() (ctl *WelcomeController)

Jump to

Keyboard shortcuts

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