Documentation
¶
Index ¶
- type IWsTcpSvrEventHandler
- type TcpConnInfo
- type WsTcpSvr
- func (s *WsTcpSvr) Close(conn net.Conn) error
- func (s *WsTcpSvr) InitAndRun(implType, mod string, port int, handler IWsTcpSvrEventHandler) error
- func (self *WsTcpSvr) RunGinWs(mode string, wsPort int) error
- func (s *WsTcpSvr) WriteData(conn net.Conn, data1 []byte, data2 []byte) error
- func (self *WsTcpSvr) WsBeegoPageUpgrader(w http.ResponseWriter, req *http.Request)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type IWsTcpSvrEventHandler ¶ added in v1.0.4
type TcpConnInfo ¶ added in v1.0.4
type TcpConnInfo struct {
// contains filtered or unexported fields
}
type WsTcpSvr ¶ added in v1.0.4
type WsTcpSvr struct {
// contains filtered or unexported fields
}
func (*WsTcpSvr) InitAndRun ¶ added in v1.0.4
func (s *WsTcpSvr) InitAndRun(implType, mod string, port int, handler IWsTcpSvrEventHandler) error
func (*WsTcpSvr) WsBeegoPageUpgrader ¶ added in v1.0.4
func (self *WsTcpSvr) WsBeegoPageUpgrader(w http.ResponseWriter, req *http.Request)
WsBeegoPage is beego websocket handler
Click to show internal directories.
Click to hide internal directories.