controllers

package
v0.0.12 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2019 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ControllerCommon

type ControllerCommon struct {
	// contains filtered or unexported fields
}

func NewControllerCommon

func NewControllerCommon(cfg *config.AppConfig) *ControllerCommon

func (*ControllerCommon) IsAjax

func (c *ControllerCommon) IsAjax(ctx *gin.Context) bool

type ControllerIndex

type ControllerIndex struct {
	*ControllerCommon
}

func NewControllerIndex

func NewControllerIndex(common *ControllerCommon) *ControllerIndex

func (ControllerIndex) Index

func (i ControllerIndex) Index(c *gin.Context)

func (ControllerIndex) Recovery

func (i ControllerIndex) Recovery(c *gin.Context)

func (ControllerIndex) Reset

func (i ControllerIndex) Reset(c *gin.Context)

func (ControllerIndex) Signin

func (i ControllerIndex) Signin(ctx *gin.Context)

func (ControllerIndex) Signout

func (i ControllerIndex) Signout(c *gin.Context)

type ControllerProxy

type ControllerProxy struct {
	*ControllerCommon
}

func NewControllerProxy

func NewControllerProxy(common *ControllerCommon) *ControllerProxy

func (ControllerProxy) Simple

func (i ControllerProxy) Simple(ctx *gin.Context)

func (ControllerProxy) Upload

func (i ControllerProxy) Upload(ctx *gin.Context)

func (ControllerProxy) Ws

func (i ControllerProxy) Ws(ctx *gin.Context)

type Controllers

type Controllers struct {
	Index *ControllerIndex
	Proxy *ControllerProxy
}

func NewControllers

func NewControllers(cfg *config.AppConfig) *Controllers

Jump to

Keyboard shortcuts

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