Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func UUIDString ¶
func UUIDString() string
Types ¶
type ConnectionId ¶
type ConnectionId string
func (ConnectionId) ListenerId ¶
func (id ConnectionId) ListenerId() ListenerId
func (ConnectionId) String ¶
func (id ConnectionId) String() string
type Item ¶
type Item struct {
// contains filtered or unexported fields
}
An Item is something we manage in a priority queue.
type MachineId ¶
type MachineId string
func (MachineId) ClientCmdTopic ¶
func (MachineId) MachineKey ¶
type PriorityQueue ¶
type PriorityQueue []*Item
A PriorityQueue implements heap.Interface and holds Items.
func (PriorityQueue) Len ¶
func (pq PriorityQueue) Len() int
func (PriorityQueue) Less ¶
func (pq PriorityQueue) Less(i, j int) bool
func (*PriorityQueue) Pop ¶
func (pq *PriorityQueue) Pop() any
func (*PriorityQueue) Push ¶
func (pq *PriorityQueue) Push(x any)
func (PriorityQueue) Swap ¶
func (pq PriorityQueue) Swap(i, j int)
type RoomId ¶
type RoomId string
func GetGlobalLobbyId ¶
func GetGlobalLobbyId() RoomId
func (RoomId) ListenerId ¶
func (id RoomId) ListenerId() ListenerId
func (RoomId) RoomMembershipKey ¶
Click to show internal directories.
Click to hide internal directories.