Browse Source

添加websocket的功能接口代码

pull/344/head
zhangxin 3 years ago
parent
commit
820d629df8
3 changed files with 30 additions and 0 deletions
  1. +10
    -0
      global/global.go
  2. +10
    -0
      models/base/ws.go
  3. +10
    -0
      web/controllers/ws/ws.go

+ 10
- 0
global/global.go View File

@ -0,0 +1,10 @@
/******************************************************************************
* @Function Name :
*-----------------------------------------------------------------------------
* @Description :
* @Function Parameters:
* @Return Value :
* @Author : Zhang Xin
* @Date : 2021/3/3 11:02
******************************************************************************/
package global

+ 10
- 0
models/base/ws.go View File

@ -0,0 +1,10 @@
/******************************************************************************
* @Function Name :
*-----------------------------------------------------------------------------
* @Description :
* @Function Parameters:
* @Return Value :
* @Author : Zhang Xin
* @Date : 2021/3/3 11:02
******************************************************************************/
package base

+ 10
- 0
web/controllers/ws/ws.go View File

@ -0,0 +1,10 @@
/******************************************************************************
* @Function Name :
*-----------------------------------------------------------------------------
* @Description :
* @Function Parameters:
* @Return Value :
* @Author : Zhang Xin
* @Date : 2021/3/3 11:02
******************************************************************************/
package ws

Loading…
Cancel
Save