router

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2022 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GET

func GET(group *gin.RouterGroup, url string, handler Handler)

func OPTIONS

func OPTIONS(group *gin.RouterGroup, url string, handler Handler)

func POST

func POST(group *gin.RouterGroup, url string, handler Handler)

func ProcessError

func ProcessError(c *gin.Context, err interface{}, formatHandler interface{})

func ProcessSuccess

func ProcessSuccess(c *gin.Context, res interface{}, formatHandler interface{})

Types

type Handler

type Handler func(c *gin.Context) interface{}

type MineModel

type MineModel struct {
	db.DefaultModel
}

Jump to

Keyboard shortcuts

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