handler

package
v0.0.0-...-014530f Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2024 License: GPL-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Dispatch

func Dispatch(c *gin.Context, base any)

func Errorf

func Errorf(c *gin.Context, format string, a ...any)

func ReplyError

func ReplyError(c *gin.Context, code int, msg string)

func ReplyString

func ReplyString(c *gin.Context, code int, msg string)

Types

type Response

type Response struct {
	RequestId string `json:"requestId"`
	Code      int    `json:"code"`
	Message   any    `json:"message"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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