1 Star 0 Fork 5

yirenji / goframe-websocket

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
main.go 538 Bytes
一键复制 编辑 原始数据 按行查看 历史
糖水不加糖 提交于 2021-05-25 09:40 . 升级gf版本
package main
import (
"github.com/gogf/gf/frame/g"
_ "websocket/boot"
_ "websocket/router"
)
func main() {
s := g.Server()
//s.EnableAdmin()
//s.EnablePProf()
//s.SetDumpRouterMap(false)
//s.Logger().SetStdoutPrint(false)
//s.Logger().SetHeaderPrint(false)
//s.Logger().SetFlags(26)
//s.Logger().SetAsync(true)
//s.Logger().SetDebug(false)
//
//g.Log().SetFlags(glog.F_TIME_DATE | glog.F_TIME_TIME | glog.F_FILE_LONG)
//g.Log().SetAsync(true)
//g.Log().SetHeaderPrint(false)
//g.Log().SetStdoutPrint(true)
s.Run()
}
Go
1
https://gitee.com/thinkphpbox/goframe-websocket.git
git@gitee.com:thinkphpbox/goframe-websocket.git
thinkphpbox
goframe-websocket
goframe-websocket
master

搜索帮助