web

package
v0.0.0-...-e513e0e Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BadResponse

func BadResponse(ctx *gin.Context, stsCode int, status, message string)

func OKResponse

func OKResponse(ctx *gin.Context, stsCode int, data interface{})

Types

type PageableResponse

type PageableResponse struct {
	Page  string      `json:"page"`
	Items string      `json:"items"`
	Data  interface{} `json:"data"`
}

Jump to

Keyboard shortcuts

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