db

package
v0.0.0-...-4c61dc2 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2020 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAccountInfo

func GetAccountInfo(db *sql.DB, account string) ([]map[string]interface{}, messagehandle.ErrorMsg)

GetAccountInfo Check Account existence and get

func GetAttachKind

func GetAttachKind(db *sql.DB, playerid int64, kind int64) ([]map[string]interface{}, messagehandle.ErrorMsg)

GetAttachKind get db attach kind

func GetAttachType

func GetAttachType(db *sql.DB, playerid int64, kind int64, attType int64) ([]map[string]interface{}, messagehandle.ErrorMsg)

GetAttachType ...

func GetAttachTypeRange

func GetAttachTypeRange(db *sql.DB, playerid, kind, miniAttType, maxAttType int64) ([]map[string]interface{}, messagehandle.ErrorMsg)

GetAttachTypeRange ...

func GetPlayerInfoByGameAccount

func GetPlayerInfoByGameAccount(db *sql.DB, gameAccount string) ([]map[string]interface{}, messagehandle.ErrorMsg)

GetPlayerInfoByGameAccount ...

func GetPlayerInfoByPlayerID

func GetPlayerInfoByPlayerID(db *sql.DB, playerID int64) (interface{}, messagehandle.ErrorMsg)

GetPlayerInfoByPlayerID ...

func GetSetting

func GetSetting(db *sql.DB) ([]map[string]interface{}, messagehandle.ErrorMsg)

GetSetting get db setting

func GetSettingKey

func GetSettingKey(db *sql.DB, key string) ([]map[string]interface{}, messagehandle.ErrorMsg)

GetSettingKey get db setting

func NewAccount

func NewAccount(db *sql.DB, args ...interface{})

NewAccount new goruting set new Account

func NewAttach

func NewAttach(db *sql.DB, args ...interface{})

NewAttach ...

func NewGameAccount

func NewGameAccount(db *sql.DB, args ...interface{}) (int64, messagehandle.ErrorMsg)

NewGameAccount gameaccount, money, gametoken

func NewSetting

func NewSetting(db *sql.DB, args ...interface{})

NewSetting ...

func ReflushSetting

func ReflushSetting(db *sql.DB, args ...interface{}) messagehandle.ErrorMsg

ReflushSetting ...

func UpdateAccount

func UpdateAccount(db *sql.DB, args ...interface{}) messagehandle.ErrorMsg

UpdateAccount update

func UpdateAttach

func UpdateAttach(db *sql.DB, args ...interface{}) messagehandle.ErrorMsg

UpdateAttach ...

func UpdatePlayerInfo

func UpdatePlayerInfo(db *sql.DB, args ...interface{})

UpdatePlayerInfo ...

func UpdateSetting

func UpdateSetting(db *sql.DB, args ...interface{}) messagehandle.ErrorMsg

UpdateSetting ...

Types

This section is empty.

Jump to

Keyboard shortcuts

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