mmn

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2023 License: GPL-2.0, GPL-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Player

type Player struct {
	xorm.Table `orm:"-" json:"-"`
	ID         int    `orm:"column(id);pk"`
	Account    string `orm:"column(account)"`  // 账号
	Password   string `orm:"column(password)"` // 密码
	Online     int    `orm:"column(online)"`   // 0-不在线 1-在线
	ConnUrl    string `orm:"column(conn_url)"` // 连接地址
	ConnID     int64  `orm:"column(conn_id)"`  // 连接ID
}

func NewPlayer

func NewPlayer() *Player

func RegPlayer

func RegPlayer() *Player

func (*Player) DBName

func (this *Player) DBName() string

func (*Player) RedisName

func (this *Player) RedisName() string

func (*Player) RedisPrefix

func (this *Player) RedisPrefix() string

func (*Player) TableName

func (this *Player) TableName() string

Jump to

Keyboard shortcuts

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