db_gorm

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2025 License: AGPL-3.0 Imports: 12 Imported by: 0

Documentation

Index

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 NewDbGorm

func NewDbGorm(dbType, dsn string) (*DbGorm, error)

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 (x *DbGorm) DeleteAllYostarMail() error

func (*DbGorm) DeleteYostarMailById

func (x *DbGorm) DeleteYostarMailById(id int64) error

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) NewMysql

func (x *DbGorm) NewMysql(dsn string) error

func (*DbGorm) NewSqlite

func (x *DbGorm) NewSqlite(dsn string) error

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

Jump to

Keyboard shortcuts

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