Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Error ¶
type Error struct { Source interface{} `json:"source,omitempty"` Title string `json:"title,omitempty"` Message string `json:"message,omitempty"` Code int `json:"code"` }
Error represents an error that occurred while handling a request.
type JwtResources ¶
type JwtResources struct { JwtVerifyKey crypto.PublicKey JwtSignKey crypto.PrivateKey JwtSigningMethod jwt.SigningMethod JwtKeyfunc jwt.Keyfunc JwtParser *jwt.Parser }
type ResponseForm ¶
type ResponseForm struct { Result interface{} `json:"result,omitempty"` Data interface{} `json:"data,omitempty"` ResultInfo *ResultInfo `json:"result_info,omitempty"` Messages []string `json:"messages,omitempty"` Errors []ResponseError `json:"errors,omitempty"` Success bool `json:"success"` }
Click to show internal directories.
Click to hide internal directories.