Shelikhoo 9 лет назад
Родитель
Сommit
cb1356be75
1 измененных файлов с 3 добавлено и 0 удалено
  1. 3 0
      common/net/network.go

+ 3 - 0
common/net/network.go

@@ -15,6 +15,9 @@ const (
 
 	// KCPNetwork represents the KCP network.
 	KCPNetwork = Network("kcp")
+
+	// WSNetwork represents the Websocket over HTTP network.
+	WSNetwork = Network("ws")
 )
 
 // Network represents a communication network on internet.