match

package
v1.0.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 21, 2022 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Match

type Match struct {
	Uid       int
	Rating    int
	StartTime int64 //单位豪秒
}

type MatchPool

type MatchPool struct {
	// contains filtered or unexported fields
}

func NewMatchPool

func NewMatchPool(t int64, num int) *MatchPool

func (*MatchPool) Add

func (m *MatchPool) Add(u *Match)

func (*MatchPool) Remove

func (m *MatchPool) Remove(id int)

func (*MatchPool) Run

func (m *MatchPool) Run()

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL