Documentation
¶
Index ¶
- func ComRet(code int, msg string, ret map[string]interface{}) def.ComRt
- func Get(uri string, m map[string]interface{}) (string, error)
- func JsonOk(c *gin.Context, msg string, ret map[string]interface{}) bool
- func JsonWrong(c *gin.Context, code int, msg string, ret map[string]interface{}) bool
- func OkRet(msg string, ret map[string]interface{}) def.ComRt
- func Post(uri string, m interface{}) (string, error)
- func PostTimeout(uri string, m interface{}, timeout time.Duration) (string, error)
- func WrongRet(code int, msg string, ret map[string]interface{}) def.ComRt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func JsonOk ¶
JsonOk gin版本返回
func JsonWrong ¶
JsonWrong gin版本返回
func PostTimeout ¶
PostTimeout POST请求带超时设置
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.