ing
This commit is contained in:
parent
b30f3d10ea
commit
75eb81b53a
|
@ -30,7 +30,7 @@ func (sh *SocketHandlers) Init(serverCTX server.ServerContext) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (sh *SocketHandlers) Handshake(socketCTX server.SocketContext, conn net.Conn) (id string) {
|
func (sh *SocketHandlers) Handshake(socketCTX server.SocketContext, conn net.Conn) (id string) {
|
||||||
return "discovery"
|
return "DiscoveryContainer"
|
||||||
}
|
}
|
||||||
|
|
||||||
func (sh *SocketHandlers) OnConnect(soc server.Socket) {
|
func (sh *SocketHandlers) OnConnect(soc server.Socket) {
|
||||||
|
@ -51,5 +51,5 @@ func (sh *SocketHandlers) Destroy() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (sh *SocketHandlers) Validate() {
|
func (sh *SocketHandlers) Validate() {
|
||||||
|
sh.SocketHandler.Validate()
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user