Documentation
¶
Index ¶
- func AuthBase(r *ghttp.Request, name string)
- func CreateCron(time string, name string, operate func())
- func GetCapitalPass(val string) string
- func GetResult(url string, data g.Map, va *gvar.Var) (string, error)
- func MiddlewareError(r *ghttp.Request)
- func NoLogin(r *ghttp.Request)
- func PostResult(url string, data g.Map, header string, class string) (string, error)
- func RemoveCron(name string)
- func ResultVersion(r *ghttp.Request, data interface{})
- func Start(time time.Duration)
- func StartCorn(time time.Duration, cronTime, name string, cron func())
- func StartCrons(name string)
- func StartTcp(time time.Duration, tcpFun func())
- func StartWebSocket(time time.Duration, webFun func())
- func StopCron(name string)
- func Transaction(function func() error)
- type ApiResp
- type Json
- type PageSize
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PostResult ¶
PostResult 建立POST请求并返回结果
func ResultVersion ¶
func StartWebSocket ¶ added in v0.1.112
StartWebSocket 创建一个带websocket的http
Types ¶
Click to show internal directories.
Click to hide internal directories.