Documentation ¶
Overview ¶
* @Descripttion: * @version: * @Author: congsir * @Date: 2022-01-04 22:27:47 * @LastEditors: Please set LastEditors * @LastEditTime: 2022-01-09 11:48:41
* @Descripttion: * @version: * @Author: congsir * @Date: 2022-01-04 22:28:10 * @LastEditors: Please set LastEditors * @LastEditTime: 2022-01-04 22:28:11
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrorRequestBodyParseFailed = ErrResponse{HttpSC: 400, Error: Err{Error: "Request body is not correct", ErrorCode: "001"}} ErrorNotAuthUser = ErrResponse{HttpSC: 401, Error: Err{Error: "User authentication failed.", ErrorCode: "002"}} ErrorDBError = ErrResponse{HttpSC: 500, Error: Err{Error: "DB ops failed", ErrorCode: "003"}} ErrorInternalFaults = ErrResponse{HttpSC: 500, Error: Err{Error: "Internal service error", ErrorCode: "004"}} )
Functions ¶
This section is empty.
Types ¶
type ErrResponse ¶
type SimpleSession ¶ added in v0.0.4
type UserCredential ¶
reqeusts
Click to show internal directories.
Click to hide internal directories.