Documentation ¶
Index ¶
- type DBBroker
- type PostgreSQLBroker
- func (pg *PostgreSQLBroker) InsertTukopolyCardLicense(l TukopolyCardLicense) (err error)
- func (pg *PostgreSQLBroker) InsertWallet(w Wallet) (err error)
- func (pg *PostgreSQLBroker) SelectTukopolyCardLicenseByGuildCard(gid int64, cid int16) (l TukopolyCardLicense, err error)
- func (pg *PostgreSQLBroker) SelectTukopolyCardLicensesByGuild(gid int64) (ls []TukopolyCardLicense, err error)
- func (pg *PostgreSQLBroker) SelectWalletByGuildUser(gid int64, uid int64) (w Wallet, err error)
- func (pg *PostgreSQLBroker) SelectWalletsByGuild(gid int64) (ws []Wallet, err error)
- func (pg *PostgreSQLBroker) UpdateWallet(w Wallet) (err error)
- type TukopolyCardLicense
- type Wallet
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DBBroker ¶
type DBBroker interface { SelectWalletByGuildUser(gid int64, uid int64) (Wallet, error) SelectWalletsByGuild(gid int64) ([]Wallet, error) InsertWallet(w Wallet) error UpdateWallet(w Wallet) error SelectTukopolyCardLicenseByGuildCard(gid int64, cid int16) (TukopolyCardLicense, error) SelectTukopolyCardLicensesByGuild(gid int64) ([]TukopolyCardLicense, error) InsertTukopolyCardLicense(l TukopolyCardLicense) error }
type PostgreSQLBroker ¶
func (*PostgreSQLBroker) InsertTukopolyCardLicense ¶
func (pg *PostgreSQLBroker) InsertTukopolyCardLicense(l TukopolyCardLicense) (err error)
func (*PostgreSQLBroker) InsertWallet ¶
func (pg *PostgreSQLBroker) InsertWallet(w Wallet) (err error)
func (*PostgreSQLBroker) SelectTukopolyCardLicenseByGuildCard ¶
func (pg *PostgreSQLBroker) SelectTukopolyCardLicenseByGuildCard(gid int64, cid int16) (l TukopolyCardLicense, err error)
func (*PostgreSQLBroker) SelectTukopolyCardLicensesByGuild ¶
func (pg *PostgreSQLBroker) SelectTukopolyCardLicensesByGuild(gid int64) (ls []TukopolyCardLicense, err error)
func (*PostgreSQLBroker) SelectWalletByGuildUser ¶
func (pg *PostgreSQLBroker) SelectWalletByGuildUser(gid int64, uid int64) (w Wallet, err error)
func (*PostgreSQLBroker) SelectWalletsByGuild ¶
func (pg *PostgreSQLBroker) SelectWalletsByGuild(gid int64) (ws []Wallet, err error)
func (*PostgreSQLBroker) UpdateWallet ¶
func (pg *PostgreSQLBroker) UpdateWallet(w Wallet) (err error)
type TukopolyCardLicense ¶
Click to show internal directories.
Click to hide internal directories.