Documentation ¶
Index ¶
- Variables
- func Create(curd CURD) gin.HandlerFunc
- func Delete(curd CURD) gin.HandlerFunc
- func NewError(err error, des interface{}) *apiError
- func PageQuery(c *gin.Context, v interface{}) error
- func RsaDecrypt(ciphertext []byte, privateKey []byte) ([]byte, error)
- func RsaEncrypt(origData []byte, publicKey []byte) ([]byte, error)
- type CURD
- type Error
- type Rsp
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrInvildInput = fmt.Errorf("Error Input Format") ErrIllegalDataFormat = fmt.Errorf("illegal_data_format") InterError = fmt.Errorf("Interal Error") )
View Source
var ( ErrInvaildID = errors.New("Invaild ID") ErrBodyFormat = errors.New("Invaild Body Content Format") )
Functions ¶
func Create ¶
func Create(curd CURD) gin.HandlerFunc
func Delete ¶
func Delete(curd CURD) gin.HandlerFunc
Types ¶
Click to show internal directories.
Click to hide internal directories.