package
Version:
v0.0.0-...-4e8f025
Opens a new window with list of versions in this module.
Published: Sep 2, 2022
License: MIT
Opens a new window with license information.
Imports: 1
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
View Source
const (
OK = 200
Created = 201
Bad = 400
NotFind = 404
TooLarge = 413
TooMany = 429
ServerErr = 500
)
type Response struct {
Status int `json:"code"`
Data interface{} `json:"data"`
Message string `json:"msg"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.