stats_tbl

package
v0.0.0-...-254d333 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2015 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	INT_GAME_INFO = "INT_GAME_INFO"
	STR_GAME_INFO = "STR_GAME_INFO"
)

Variables

This section is empty.

Functions

func C

func C(collection string) (*mgo.Session, *mgo.Collection)

------------------------------------------------ copy connection

func SetAdds

func SetAdds(key string, value int32, lang string) bool

------------------------------------------------------------ 记录玩家累计信息

func SetUpdate

func SetUpdate(key, value, lang string) bool

------------------------------------------------------------ 记录玩家状态信息

Types

type IntGameInfo

type IntGameInfo struct {
	IntValue int32
	Key      string
	Time     time.Time
	Lang     string
}

type StrGameInfo

type StrGameInfo struct {
	StrValue string
	Key      string
	Time     time.Time
	Lang     string
}

Jump to

Keyboard shortcuts

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