command
module
Version:
v0.0.0-...-a45afdf
Opens a new window with list of versions in this module.
Published: Oct 20, 2025
License: MIT
Opens a new window with license information.
Imports: 19
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
gin-ws
基于 Gin 框架和 WebSocket 实现的 [补充项目具体用途,如:实时通信服务/消息推送组件],集成 Redis、GORM 等工具链,简化实时应用开发流程。
支持连接时授权校验
开源协议
本项目采用 MIT 协议 开源,完整许可条款见 LICENSE 文件。
依赖合规说明
项目依赖的核心库均使用宽松型开源协议(MIT/BSD 系列),与本项目协议完全兼容,关键依赖包括:
快速开始
# 安装依赖
go mod tidy
# 启动服务
go run main.go
# 浏览器访问 注册用户
http://localhost:582/user/register
# 浏览器访问 登录用户
http://localhost:582/user/login
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
dal
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.