response

package
v0.0.0-...-5b6e3bb Latest Latest
Warning

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

Go to latest
Published: May 23, 2024 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func JsonResponse

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

func NewResponse

func NewResponse(c *gin.Context, statusCode int, message string)

Types

type DataResponse

type DataResponse struct {
	Data  interface{} `json:"data"`
	Count int         `json:"count"`
}

Jump to

Keyboard shortcuts

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