api

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2020 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadRequest

func BadRequest(c *gin.Context, field string, msg string)

BadRequest 400

func Found

func Found(c *gin.Context, data gin.H)

Found 302

func NoContent

func NoContent(c *gin.Context)

NoContent 204

func NotFound

func NotFound(c *gin.Context)

NotFound 404

func Ok

func Ok(c *gin.Context, data gin.H)

Ok 200

Types

This section is empty.

Jump to

Keyboard shortcuts

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