Commit 67a72cd1 by Joneq

检测服务协议

parent 722f4f1e
...@@ -13,6 +13,9 @@ ...@@ -13,6 +13,9 @@
websocket demo文件 websocket
app_dir +resource/public/html/websocket.html demo文件
127.0.0.1/ichunt/go-websocket/resource/public/html/websocket.html app_dir +resource/public/html/websocket.html
\ No newline at end of file 127.0.0.1/ichunt/go-websocket/resource/public/html/websocket.html
demo命令
go run ./internal/cmd/websocket/main.go
...@@ -4,7 +4,6 @@ import ( ...@@ -4,7 +4,6 @@ import (
"github.com/gogf/gf/v2/frame/g" "github.com/gogf/gf/v2/frame/g"
"github.com/gogf/gf/v2/net/ghttp" "github.com/gogf/gf/v2/net/ghttp"
// "github.com/gogf/gf/v2/os/gctx"
"github.com/gogf/gf/v2/os/gfile" "github.com/gogf/gf/v2/os/gfile"
"github.com/gogf/gf/v2/os/glog" "github.com/gogf/gf/v2/os/glog"
) )
......
...@@ -6,6 +6,7 @@ server: ...@@ -6,6 +6,7 @@ server:
logger: logger:
level : "all" level : "all"
stdout: true stdout: true
path: "/usr/local/var/www/ichunt/go-websocket/logs"
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment