Documentation
¶
Index ¶
- type DbGorm
- func (x *DbGorm) AddYoStarUserLoginByYostarUid(yostarUid int64) (*dbstruct.YostarUserLogin, error)
- func (x *DbGorm) AddYostarAccountByYostarAccount(yostarAccount string) (*dbstruct.YostarAccount, error)
- func (x *DbGorm) AddYostarClanByClanName(clanName string) (*dbstruct.YostarClan, error)
- func (x *DbGorm) AddYostarFriendByYostarUid(accountServerId int64) (*dbstruct.YostarFriend, error)
- func (x *DbGorm) AddYostarGameByYostarUid(accountServerId int64) (*dbstruct.YostarGame, error)
- func (x *DbGorm) AddYostarMailBySender(sender string) (*dbstruct.YostarMail, error)
- func (x *DbGorm) AddYostarUserByYostarUid(yostarUid int64) (*dbstruct.YostarUser, error)
- func (x *DbGorm) DeleteAllYostarMail() error
- func (x *DbGorm) DeleteYostarMailById(id int64) error
- func (x *DbGorm) GetAllYostarMail() []*dbstruct.YostarMail
- func (x *DbGorm) GetBlackDeviceByYostarUid(deviceId string) *dbstruct.BlackDevice
- func (x *DbGorm) GetYoStarUserLoginByYostarUid(yostarUid int64) *dbstruct.YostarUserLogin
- func (x *DbGorm) GetYostarAccountByYostarAccount(yostarAccount string) *dbstruct.YostarAccount
- func (x *DbGorm) GetYostarAccountByYostarUid(yostarUid int64) *dbstruct.YostarAccount
- func (x *DbGorm) GetYostarClanByClanName(clanName string) *dbstruct.YostarClan
- func (x *DbGorm) GetYostarClanByServerId(serverId int64) *dbstruct.YostarClan
- func (x *DbGorm) GetYostarFriendByAccountServerId(accountServerId int64) *dbstruct.YostarFriend
- func (x *DbGorm) GetYostarGameByAccountServerId(accountServerId int64) *dbstruct.YostarGame
- func (x *DbGorm) GetYostarUserByUid(uid int64) *dbstruct.YostarUser
- func (x *DbGorm) GetYostarUserByYostarUid(yostarUid int64) *dbstruct.YostarUser
- func (x *DbGorm) NewMysql(dsn string) error
- func (x *DbGorm) NewSqlite(dsn string) error
- func (x *DbGorm) UpAllYostarClan(list []*dbstruct.YostarClan) error
- func (x *DbGorm) UpAllYostarFriend(list []*dbstruct.YostarFriend) error
- func (x *DbGorm) UpAllYostarGame(list []*dbstruct.YostarGame) error
- func (x *DbGorm) UpdateYoStarUserLogin(data *dbstruct.YostarUserLogin) error
- func (x *DbGorm) UpdateYostarAccount(data *dbstruct.YostarAccount) error
- func (x *DbGorm) UpdateYostarClan(data *dbstruct.YostarClan) error
- func (x *DbGorm) UpdateYostarFriend(data *dbstruct.YostarFriend) error
- func (x *DbGorm) UpdateYostarGame(data *dbstruct.YostarGame) error
- func (x *DbGorm) UpdateYostarMail(data *dbstruct.YostarMail) error
- func (x *DbGorm) UpdateYostarUser(data *dbstruct.YostarUser) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbGorm ¶
type DbGorm struct {
// contains filtered or unexported fields
}
func (*DbGorm) AddYoStarUserLoginByYostarUid ¶
func (x *DbGorm) AddYoStarUserLoginByYostarUid(yostarUid int64) (*dbstruct.YostarUserLogin, error)
func (*DbGorm) AddYostarAccountByYostarAccount ¶
func (x *DbGorm) AddYostarAccountByYostarAccount(yostarAccount string) (*dbstruct.YostarAccount, error)
func (*DbGorm) AddYostarClanByClanName ¶
func (x *DbGorm) AddYostarClanByClanName(clanName string) (*dbstruct.YostarClan, error)
func (*DbGorm) AddYostarFriendByYostarUid ¶
func (x *DbGorm) AddYostarFriendByYostarUid(accountServerId int64) (*dbstruct.YostarFriend, error)
func (*DbGorm) AddYostarGameByYostarUid ¶
func (x *DbGorm) AddYostarGameByYostarUid(accountServerId int64) (*dbstruct.YostarGame, error)
func (*DbGorm) AddYostarMailBySender ¶
func (x *DbGorm) AddYostarMailBySender(sender string) (*dbstruct.YostarMail, error)
func (*DbGorm) AddYostarUserByYostarUid ¶
func (x *DbGorm) AddYostarUserByYostarUid(yostarUid int64) (*dbstruct.YostarUser, error)
func (*DbGorm) DeleteAllYostarMail ¶
func (*DbGorm) DeleteYostarMailById ¶
func (*DbGorm) GetAllYostarMail ¶
func (x *DbGorm) GetAllYostarMail() []*dbstruct.YostarMail
func (*DbGorm) GetBlackDeviceByYostarUid ¶
func (x *DbGorm) GetBlackDeviceByYostarUid(deviceId string) *dbstruct.BlackDevice
func (*DbGorm) GetYoStarUserLoginByYostarUid ¶
func (x *DbGorm) GetYoStarUserLoginByYostarUid(yostarUid int64) *dbstruct.YostarUserLogin
func (*DbGorm) GetYostarAccountByYostarAccount ¶
func (x *DbGorm) GetYostarAccountByYostarAccount(yostarAccount string) *dbstruct.YostarAccount
func (*DbGorm) GetYostarAccountByYostarUid ¶
func (x *DbGorm) GetYostarAccountByYostarUid(yostarUid int64) *dbstruct.YostarAccount
func (*DbGorm) GetYostarClanByClanName ¶
func (x *DbGorm) GetYostarClanByClanName(clanName string) *dbstruct.YostarClan
func (*DbGorm) GetYostarClanByServerId ¶
func (x *DbGorm) GetYostarClanByServerId(serverId int64) *dbstruct.YostarClan
func (*DbGorm) GetYostarFriendByAccountServerId ¶
func (x *DbGorm) GetYostarFriendByAccountServerId(accountServerId int64) *dbstruct.YostarFriend
func (*DbGorm) GetYostarGameByAccountServerId ¶
func (x *DbGorm) GetYostarGameByAccountServerId(accountServerId int64) *dbstruct.YostarGame
func (*DbGorm) GetYostarUserByUid ¶
func (x *DbGorm) GetYostarUserByUid(uid int64) *dbstruct.YostarUser
func (*DbGorm) GetYostarUserByYostarUid ¶
func (x *DbGorm) GetYostarUserByYostarUid(yostarUid int64) *dbstruct.YostarUser
func (*DbGorm) UpAllYostarClan ¶
func (x *DbGorm) UpAllYostarClan(list []*dbstruct.YostarClan) error
func (*DbGorm) UpAllYostarFriend ¶
func (x *DbGorm) UpAllYostarFriend(list []*dbstruct.YostarFriend) error
func (*DbGorm) UpAllYostarGame ¶
func (x *DbGorm) UpAllYostarGame(list []*dbstruct.YostarGame) error
func (*DbGorm) UpdateYoStarUserLogin ¶
func (x *DbGorm) UpdateYoStarUserLogin(data *dbstruct.YostarUserLogin) error
func (*DbGorm) UpdateYostarAccount ¶
func (x *DbGorm) UpdateYostarAccount(data *dbstruct.YostarAccount) error
func (*DbGorm) UpdateYostarClan ¶
func (x *DbGorm) UpdateYostarClan(data *dbstruct.YostarClan) error
func (*DbGorm) UpdateYostarFriend ¶
func (x *DbGorm) UpdateYostarFriend(data *dbstruct.YostarFriend) error
func (*DbGorm) UpdateYostarGame ¶
func (x *DbGorm) UpdateYostarGame(data *dbstruct.YostarGame) error
func (*DbGorm) UpdateYostarMail ¶
func (x *DbGorm) UpdateYostarMail(data *dbstruct.YostarMail) error
func (*DbGorm) UpdateYostarUser ¶
func (x *DbGorm) UpdateYostarUser(data *dbstruct.YostarUser) error
Click to show internal directories.
Click to hide internal directories.