response

package
v0.0.0-...-916e37d Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2021 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const Error = 1
View Source
const Expire = 2
View Source
const IsExist = 4
View Source
const IsExisting = "Is existing"
View Source
const NotExist = 3
View Source
const NotFound = "Not found"
View Source
const Ok = 0
View Source
const ParamErr = "param error"
View Source
const Successful = "success"
View Source
const UnknownErr = "Unknown error"

Variables

This section is empty.

Functions

func Fail

func Fail(ctx iris.Context, code int, msg string, data interface{})

func Success

func Success(ctx iris.Context, msg string, data interface{})

Types

This section is empty.

Jump to

Keyboard shortcuts

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