handler_common

package
v0.0.0-...-9e8b3cb Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RequestId

func RequestId(c *gin.Context) string

Types

type GinHandleFunc

type GinHandleFunc struct {
	Handler    gin.HandlerFunc
	RouterType StateType
	Method     string
	Route      string
}

type StateType

type StateType int
const (
	RouterTypeNormal StateType = iota
	RouterTypeNeedAuth
)

Jump to

Keyboard shortcuts

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