Documentation ¶
Overview ¶
Package websocket...
Description : websocket...
Author : go_developer@163.com<白茶清欢>
Date : 2021-03-27 6:49 下午
Package websocket ...
Description : 数据结构定义
Author : go_developer@163.com<白茶清欢>
Date : 2021-04-18 7:53 下午
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewWebsocketServe ¶
func NewWebsocketServe(finishHook func(), wsInstanceList ...abstract.IWebsocket) error
NewWebsocketServe 启动websocket服务
Author : go_developer@163.com<白茶清欢>
Date : 6:49 下午 2021/3/27
func NewWebsocketServeWithGinRouter ¶
func NewWebsocketServeWithGinRouter(ginPort int, ginRouter *gin.Engine, wsInstanceList ...abstract.IWebsocket) error
NewWebsocketServeWithGinRouter ...
Author : go_developer@163.com<白茶清欢>
Date : 17:41 2024/7/22
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server ...
Author : go_developer@163.com<白茶清欢>
Date : 8:04 下午 2021/3/27
func GetWsServer ¶
GetWsServer 获取ws Server
Author : go_developer@163.com<白茶清欢>
Date : 18:36 2024/7/22
func (*Server) GetConfig ¶
func (s *Server) GetConfig() *config.WSServerConfig
GetConfig 获取service实例配置
Author : go_developer@163.com<白茶清欢>
Date : 18:36 2024/7/22
Directories ¶
Path | Synopsis |
---|---|
Package abstract...
|
Package abstract... |
Package config ...
|
Package config ... |
Package context...
|
Package context... |
Package main ...
|
Package main ... |
Package message ...
|
Package message ... |
Package storage ...
|
Package storage ... |
Click to show internal directories.
Click to hide internal directories.