response

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AuthorizationExit

func AuthorizationExit(r *ghttp.Request, message string, data ...interface{})

AuthorizationExit Return standard JSON data and exit the HTTP execution function

func JSON

func JSON(r *ghttp.Request, code int, message string, data ...interface{})

JSON Return standard JSON data。

func JSONExit

func JSONExit(r *ghttp.Request, code int, message string, data ...interface{})

JSONExit Return standard JSON data and exit the current HTTP execution function

Types

This section is empty.

Jump to

Keyboard shortcuts

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