response

package
v0.0.0-...-0864a4c Latest Latest
Warning

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

Go to latest
Published: May 18, 2020 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadRequest

func BadRequest(ctx *gin.Context, msg string)

func Entities

func Entities(ctx *gin.Context, entities interface{}, total int32)

func Entity

func Entity(ctx *gin.Context, entity interface{})

func Error

func Error(ctx *gin.Context, err error)

func Forbidden

func Forbidden(ctx *gin.Context, msg string)

func InternalServerError

func InternalServerError(ctx *gin.Context, msg string)

func NotFound

func NotFound(ctx *gin.Context, msg string)

func Success

func Success(ctx *gin.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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