Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
CnChunfeng
/
go-websocket
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
67a72cd1
authored
Sep 14, 2022
by
Joneq
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
检测服务协议
parent
722f4f1e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
7 additions
and
5 deletions
README.md
internal/cmd/websocket/main.go
manifest/config/config.yaml
README.md
View file @
67a72cd1
...
...
@@ -13,6 +13,9 @@
websocket demo文件
app_dir +resource/public/html/websocket.html
127.
0.0.1/ichunt/go-websocket/resource/public/html/websocket.html
\ No newline at end of file
websocket
demo文件
app_dir +resource/public/html/websocket.html
127.
0.0.1/ichunt/go-websocket/resource/public/html/websocket.html
demo命令
go run ./internal/cmd/websocket/main.go
internal/cmd/websocket/main.go
View file @
67a72cd1
...
...
@@ -4,7 +4,6 @@ import (
"github.com/gogf/gf/v2/frame/g"
"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/glog"
)
...
...
manifest/config/config.yaml
View file @
67a72cd1
...
...
@@ -6,6 +6,7 @@ server:
logger
:
level
:
"
all"
stdout
:
true
path
:
"
/usr/local/var/www/ichunt/go-websocket/logs"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment