responses

package
Version: v0.0.0-...-4ccba64 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2020 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.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL