online

package
v0.0.0-...-135b9b9 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2019 License: GPL-3.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 Cnter

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

Cnter 在线人数统计

func NewCnter

func NewCnter(user, pwd, addr, db, table, gameAppID string, zoneArea int, srvID uint64) (*Cnter, error)

NewCnter 新建在线人数统计

func (*Cnter) ReportOnline

func (cnt *Cnter) ReportOnline(plat int, num int32)

ReportOnline 上报

func (*Cnter) Start

func (cnt *Cnter) Start() error

Start 开始在线人数统计

func (*Cnter) Stop

func (cnt *Cnter) Stop() error

Stop 停止在线人数统计

Jump to

Keyboard shortcuts

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