helper

package
v0.0.0-...-48543aa Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2019 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResponseData

func ResponseData(w *gin.Context, status int, payload interface{})

func ResponseMsg

func ResponseMsg(w *gin.Context, status int, message interface{})

Types

type Response

type Response struct {
	Status   int         `json:"status"`
	Messages interface{} `json:"message"`
	Data     interface{} `json:"data"`
}

Jump to

Keyboard shortcuts

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