responses

package
v0.0.0-...-d66610b Latest Latest
Warning

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

Go to latest
Published: Aug 18, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ERROR

func ERROR(c *gin.Context, statusCode int, messageError interface{})

func JSON

func JSON(c *gin.Context, statusCode int, data interface{}, message interface{})

func JSONLIST

func JSONLIST(c *gin.Context, statusCode int, dataName string, data interface{}, message interface{}, p services.PageMeta)

func JSONNODATA

func JSONNODATA(c *gin.Context, statusCode int, message interface{})

func JSONTOKEN

func JSONTOKEN(c *gin.Context, statusCode int, data interface{}, message interface{}, token string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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