Documentation
¶
Index ¶
- type Db
- type DbActivity
- func (dbActivity *DbActivity) CreateActivity(instanceId string, membershipIds string, membershipType int, ...) error
- func (dbActivity *DbActivity) GetActivitiesByInstanceId(instanceId string) ([]*DbActivityData, error)
- func (dbActivity *DbActivity) GetActivitiesByMembershipIdMembershipTypeCharacterId(membershipId string, membershipType int, characterId string) ([]*DbActivityData, error)
- func (dbActivity *DbActivity) Init(db *sql.DB) error
- func (dbActivity *DbActivity) UpdateActivityById(id int, instanceId string, membershipIds string, membershipType int, ...) error
- type DbActivityData
- type DbActivityHistory
- func (dbActivityHistory *DbActivityHistory) CreateActivityHistory(membershipId string, membershipType int, characterId string, activityCount int) error
- func (dbActivityHistory *DbActivityHistory) GetActivityHistoryByMembershipIdMembershipTypeCharacterId(membershipId string, membershipType int, characterId string) (*DbActivityHistoryData, error)
- func (dbActivityHistory *DbActivityHistory) Init(db *sql.DB) error
- func (dbActivityHistory *DbActivityHistory) UpdateActivityHistoryById(id int, membershipId string, membershipType int, characterId string, ...) error
- type DbActivityHistoryData
- type DbActivityHistoryPreparedStatements
- type DbActivityPreparedStatements
- type DbHandlers
- type DbPostGameCarnageReport
- func (dbPostGameCarnageReport *DbPostGameCarnageReport) CreatePostGameCarnageReport(instanceId string, json string) error
- func (dbPostGameCarnageReport *DbPostGameCarnageReport) GetPostGameCarnageReportsByInstanceId(instanceId string) ([]*DbPostGameCarnageReportData, error)
- func (dbPostGameCarnageReport *DbPostGameCarnageReport) Init(db *sql.DB) error
- func (dbPostGameCarnageReport *DbPostGameCarnageReport) UpdatePostGameCarnageReportById(id int, instanceId string, json string) error
- type DbPostGameCarnageReportData
- type DbPostGameCarnageReportPreparedStatements
- type DbProfile
- func (dbProfile *DbProfile) CreateProfile(username string, membershipType int, membershipId string, json string) error
- func (dbProfile *DbProfile) GetProfileByMembershipId(membershipId string) ([]*DbProfileData, error)
- func (dbProfile *DbProfile) GetProfilesByUsername(username string) ([]*DbProfileData, error)
- func (dbProfile *DbProfile) Init(db *sql.DB) error
- func (dbProfile *DbProfile) UpdateProfileById(id int, username string, membershipType int, membershipId string, json string) error
- type DbProfileData
- type DbProfilePreparedStatements
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Db ¶ added in v1.0.1
func (*Db) GetDbHandlers ¶ added in v1.0.1
func (db *Db) GetDbHandlers() (*DbHandlers, error)
type DbActivity ¶
type DbActivity struct {
Db
PreparedStatements *DbActivityPreparedStatements
}
func (*DbActivity) CreateActivity ¶ added in v1.0.1
func (*DbActivity) GetActivitiesByInstanceId ¶ added in v1.0.1
func (dbActivity *DbActivity) GetActivitiesByInstanceId(instanceId string) ([]*DbActivityData, error)
func (*DbActivity) GetActivitiesByMembershipIdMembershipTypeCharacterId ¶ added in v1.0.1
func (dbActivity *DbActivity) GetActivitiesByMembershipIdMembershipTypeCharacterId(membershipId string, membershipType int, characterId string) ([]*DbActivityData, error)
func (*DbActivity) UpdateActivityById ¶ added in v1.0.1
type DbActivityData ¶ added in v1.0.1
type DbActivityHistory ¶
type DbActivityHistory struct {
Db
PreparedStatements *DbActivityHistoryPreparedStatements
}
func (*DbActivityHistory) CreateActivityHistory ¶ added in v1.0.1
func (*DbActivityHistory) GetActivityHistoryByMembershipIdMembershipTypeCharacterId ¶ added in v1.0.1
func (dbActivityHistory *DbActivityHistory) GetActivityHistoryByMembershipIdMembershipTypeCharacterId(membershipId string, membershipType int, characterId string) (*DbActivityHistoryData, error)
func (*DbActivityHistory) Init ¶ added in v1.0.1
func (dbActivityHistory *DbActivityHistory) Init(db *sql.DB) error
func (*DbActivityHistory) UpdateActivityHistoryById ¶ added in v1.0.1
type DbActivityHistoryData ¶ added in v1.0.1
type DbActivityHistoryPreparedStatements ¶ added in v1.0.1
type DbActivityPreparedStatements ¶ added in v1.0.1
type DbHandlers ¶ added in v1.0.1
type DbHandlers struct {
Profile *DbProfile
Activity *DbActivity
ActivityHistory *DbActivityHistory
PostGameCarnageReport *DbPostGameCarnageReport
}
type DbPostGameCarnageReport ¶
type DbPostGameCarnageReport struct {
Db
PreparedStatements *DbPostGameCarnageReportPreparedStatements
}
func (*DbPostGameCarnageReport) CreatePostGameCarnageReport ¶ added in v1.0.1
func (dbPostGameCarnageReport *DbPostGameCarnageReport) CreatePostGameCarnageReport(instanceId string, json string) error
func (*DbPostGameCarnageReport) GetPostGameCarnageReportsByInstanceId ¶ added in v1.0.1
func (dbPostGameCarnageReport *DbPostGameCarnageReport) GetPostGameCarnageReportsByInstanceId(instanceId string) ([]*DbPostGameCarnageReportData, error)
func (*DbPostGameCarnageReport) Init ¶ added in v1.0.1
func (dbPostGameCarnageReport *DbPostGameCarnageReport) Init(db *sql.DB) error
func (*DbPostGameCarnageReport) UpdatePostGameCarnageReportById ¶ added in v1.0.1
func (dbPostGameCarnageReport *DbPostGameCarnageReport) UpdatePostGameCarnageReportById(id int, instanceId string, json string) error
type DbPostGameCarnageReportData ¶ added in v1.0.1
type DbPostGameCarnageReportPreparedStatements ¶ added in v1.0.1
type DbProfile ¶
type DbProfile struct {
Db
PreparedStatements *DbProfilePreparedStatements
}
func (*DbProfile) CreateProfile ¶ added in v1.0.1
func (*DbProfile) GetProfileByMembershipId ¶ added in v1.0.1
func (dbProfile *DbProfile) GetProfileByMembershipId(membershipId string) ([]*DbProfileData, error)
func (*DbProfile) GetProfilesByUsername ¶ added in v1.0.1
func (dbProfile *DbProfile) GetProfilesByUsername(username string) ([]*DbProfileData, error)
type DbProfileData ¶ added in v1.0.1
Click to show internal directories.
Click to hide internal directories.