controller

package
v0.0.0-...-3f0bd07 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Logger

func Logger() gin.HandlerFunc

func Router

func Router(engine *gin.Engine)

func SetMode

func SetMode(config *config.ApplicationConfig)

func Validator

func Validator()

Types

type IndexController

type IndexController struct {
}

func NewIndexController

func NewIndexController() *IndexController

func (*IndexController) Index

func (i *IndexController) Index(ct *gin.Context)

type TestController

type TestController struct {
}

func NewTestController

func NewTestController() *TestController

func (*TestController) Hello

func (t *TestController) Hello(ct *gin.Context)

func (*TestController) Index

func (t *TestController) Index(ct *gin.Context)

Jump to

Keyboard shortcuts

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