帧同步示例补充注释
This commit is contained in:
parent
7bd9f904fc
commit
11fd51ba43
|
@ -16,6 +16,8 @@ type Command struct {
|
||||||
Data string
|
Data string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// 访问:http://www.websocket-test.com/
|
||||||
|
// - 使用多个页面连接到服务器后,任一页面发送start即可开启帧同步
|
||||||
func main() {
|
func main() {
|
||||||
players := synchronization.NewMap[string, *Player]()
|
players := synchronization.NewMap[string, *Player]()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue