Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

服务多开怎么处理group #94

Open
cute-angelia opened this issue Jan 5, 2023 · 0 comments
Open

服务多开怎么处理group #94

cute-angelia opened this issue Jan 5, 2023 · 0 comments
Labels

Comments

@cute-angelia
Copy link
Contributor

Question

type RoomService struct {
	component.Base
	group *nano.Group
}

func newRoomService() *RoomService {
	return &RoomService{
		group: nano.NewGroup("all-users"),
	}
}

比如这个服务多开几个,客户端连接分散这些服务,无法统一收到消息,这个怎么处理呢?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant