Skip to content

服务多开怎么处理group #94

Description

@cute-angelia

Question

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

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

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions