ginx

package
v1.1.29 Latest Latest
Warning

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

Go to latest
Published: Sep 22, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cors

func Cors() gin.HandlerFunc

func Register added in v1.1.28

func Register(group *gin.RouterGroup, Order, set int, httpMethod, relativePath string, handlers ...gin.HandlerFunc) gin.IRoutes

Types

type ResponseWriter

type ResponseWriter struct {
	gin.ResponseWriter
	Body *bytes.Buffer
}

func (ResponseWriter) Write

func (w ResponseWriter) Write(b []byte) (int, error)

func (ResponseWriter) WriteString

func (w ResponseWriter) WriteString(s string) (int, error)

type RouterInfo added in v1.1.28

type RouterInfo struct {
	Url   string
	Order int
	Set   int
}

func GetRouters added in v1.1.28

func GetRouters() []RouterInfo

Jump to

Keyboard shortcuts

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