Registered

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2023 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ServerInnerError = "服务器内部错误,请联系管理员处理"
)

Variables

This section is empty.

Functions

func Route

func Route(wrapper RouteFunc) request.HandlerFunc

Types

type BodyDumpResponseWriter

type BodyDumpResponseWriter struct {
	gin.ResponseWriter
	// contains filtered or unexported fields
}

func (*BodyDumpResponseWriter) Write

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

type RouteFunc

type RouteFunc func(ctx request.Context) *response.JsonResult

Jump to

Keyboard shortcuts

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