Documentation ¶
Index ¶
- Constants
- func AppInfo(c echo.Context) error
- func CaseList(c echo.Context) error
- func CaseNew(c echo.Context) error
- func ClientLogin(c echo.Context) error
- func EduList(c echo.Context) error
- func ReporterLogin(c echo.Context) error
- func ServiceInfo(c echo.Context) error
- func UserResetPasswordRequest(c echo.Context) error
- func UserResetPasswordVerify(c echo.Context) error
- type CaseFilter
- type Filter
- type Info
- type JWTclaims
- type ReporterLoginCreds
- type ResetRequestPayload
- type ResetVerifyPayload
Constants ¶
View Source
const ( //NLOGMSG for message body NLOGMSG = "message" //NLOGERR for error info NLOGERR = "error" //NLOGQUERY for detailed query tracing NLOGQUERY = "query" )
Variables ¶
This section is empty.
Functions ¶
func ReporterLogin ¶
ReporterLogin lender can choose either login with email / phone
func UserResetPasswordRequest ¶
UserResetPasswordRequest reset user's password
func UserResetPasswordVerify ¶
UserResetPasswordVerify reset pass with confirmed token
Types ¶
type CaseFilter ¶
type CaseFilter struct { ID int64 `json:"id" condition:"optional"` DataDetail string `json:"data_detail" condition:"LIKE,optional"` }
CaseFilter direct query %...% to data detail
type JWTclaims ¶
type JWTclaims struct { Username string `json:"username"` Group string `json:"group"` Permissions []string `json:"permissions"` jwt.StandardClaims }
JWTclaims jwtclaims
type ReporterLoginCreds ¶
ReporterLoginCreds type
type ResetRequestPayload ¶
type ResetRequestPayload struct {
Email string `json:"email"`
}
ResetRequestPayload container type
type ResetVerifyPayload ¶
ResetVerifyPayload container type
Click to show internal directories.
Click to hide internal directories.