Documentation
¶
Index ¶
- func AddSessionToken(sessionToken, username string) error
- func CheckSessionToken(sessionToken string) (*int64, error)
- func GetBattleLean(userId int64, splatnetNumber int64) (*api_objects.Battle2, error)
- func GetBattleLeanPk(pk int64) (*api_objects.Battle2, error)
- func GetBattlePk(pk int64) (*api_objects.Battle2, error)
- func GetBattlesLean(values []interface{}, conditionColumns []string, startAt, endAt int64, ...) ([]api_objects.Battle2, error)
- func GetBattlesLeanUser(userId int64, values []interface{}, conditionColumns []string, ...) ([]api_objects.Battle2, error)
- func GetBattlesUser(userId int64, values []interface{}, conditionColumns []string, ...) ([]api_objects.Battle2, error)
- func GetShift(userId, splatnetNumber int64) (*api_objects.Shift2, error)
- func GetShift3(userId int64, shiftId string) (*api_objects.Shift3, error)
- func GetShiftLean(userId, splatnetNumber int64) (*api_objects.Shift2, error)
- func GetShiftLeanPk(pk int64) (*api_objects.Shift2, error)
- func GetShiftNames3(userId, stage string, resultWave int, timeFrom, timeTo time.Time) ([]string, error)
- func GetShiftStubs3(userId, stage string, resultWave int, timeFrom, timeTo time.Time) ([]map[string]interface{}, error)
- func GetShiftsLean(values []interface{}, conditionColumns []string, startAt, endAt int64, ...) ([]api_objects.Shift2, error)
- func GetShiftsLeanUser(userId int64, values []interface{}, conditionColumns []string, ...) ([]api_objects.Shift2, error)
- func GetShiftsUser(userId, startAt, endAt int64, sort string) ([]api_objects.Shift2, error)
- func ReadKeyArrayKey(keyField, objectTable, sort, sortColumn string) ([]int64, error)
- func ReadKeyArrayKeyCondition(values []interface{}, conditionColumns []string, ...) ([]int64, error)
- func ReadKeyArrayWithCondition(condition []interface{}, conditionField []string, ...) ([]int64, error)
- func ReadKeyArrayWithKey(startKey, startKeyField, endKeyField, objectTable, sort, sortColumn string) ([]int64, error)
- func ReadKeyArrayWithKeyTable(startKey interface{}, ...) ([]int64, error)
- func ReadUser(username string) (*db_objects.User, error)
- func ReadUserById(pk int64) (*db_objects.User, error)
- func ReadValuesWithKey(key interface{}, keyField, objectTable string, fields []string) *sql.Row
- func VerifyEmailUser(email string) error
- func WriteNewBattle(battle *api_objects.Battle2) error
- func WriteNewBattle3(battle *api_objects.Battle3, userId int64) error
- func WriteNewShift3(shift *api_objects.Shift3, userId int64) error
- func WriteNewUser(user *db_objects.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddSessionToken ¶
func CheckSessionToken ¶
func GetBattleLean ¶
func GetBattleLean(userId int64, splatnetNumber int64) (*api_objects.Battle2, error)
func GetBattleLeanPk ¶
func GetBattleLeanPk(pk int64) (*api_objects.Battle2, error)
func GetBattlePk ¶
func GetBattlePk(pk int64) (*api_objects.Battle2, error)
func GetBattlesLean ¶
func GetBattlesLeanUser ¶
func GetBattlesUser ¶
func GetShiftLean ¶
func GetShiftLean(userId, splatnetNumber int64) (*api_objects.Shift2, error)
func GetShiftLeanPk ¶
func GetShiftLeanPk(pk int64) (*api_objects.Shift2, error)
func GetShiftNames3 ¶
func GetShiftStubs3 ¶
func GetShiftsLean ¶
func GetShiftsLeanUser ¶
func GetShiftsUser ¶
func GetShiftsUser(userId, startAt, endAt int64, sort string) ([]api_objects.Shift2, error)
func ReadKeyArrayKey ¶
func ReadKeyArrayWithKey ¶
func ReadUserById ¶
func ReadUserById(pk int64) (*db_objects.User, error)
func ReadValuesWithKey ¶
func VerifyEmailUser ¶
func WriteNewBattle ¶
func WriteNewBattle(battle *api_objects.Battle2) error
func WriteNewBattle3 ¶
func WriteNewBattle3(battle *api_objects.Battle3, userId int64) error
func WriteNewShift3 ¶
func WriteNewShift3(shift *api_objects.Shift3, userId int64) error
func WriteNewUser ¶
func WriteNewUser(user *db_objects.User) error
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.