Documentation ¶
Index ¶
- type AppFlagsCreateGameParams
- type AppFlagsCreateGameRow
- type AppFlagsCreateGameWithSeedParams
- type AppFlagsGame
- type AppFlagsGamesAnswer
- type AppFlagsGamesSharedDatum
- type AppFlagsNewSharedDataParams
- type AppFlagsUpdateGameParams
- type AppFlagsUpsertGameAnswerParams
- type AppUploaderAccessCreateParams
- type AppUploaderCreateParams
- type AppUploaderFile
- type AppUploaderFilesAccess
- type CreateSessionParams
- type CreateUserParams
- type DBTX
- type GetActiveSessionsParams
- type GetSessionsParams
- type Queries
- func (q *Queries) AppFlagsCreateGame(ctx context.Context, arg AppFlagsCreateGameParams) (AppFlagsCreateGameRow, error)
- func (q *Queries) AppFlagsCreateGameWithSeed(ctx context.Context, arg AppFlagsCreateGameWithSeedParams) (uuid.UUID, error)
- func (q *Queries) AppFlagsGetGame(ctx context.Context, gameID uuid.UUID) (AppFlagsGame, error)
- func (q *Queries) AppFlagsGetSharedData(ctx context.Context, shareKey string) (AppFlagsGamesSharedDatum, error)
- func (q *Queries) AppFlagsNewSharedData(ctx context.Context, arg AppFlagsNewSharedDataParams) (uuid.UUID, error)
- func (q *Queries) AppFlagsUpdateGame(ctx context.Context, arg AppFlagsUpdateGameParams) error
- func (q *Queries) AppFlagsUpdateQuestionCorrect(ctx context.Context, gameID uuid.UUID) error
- func (q *Queries) AppFlagsUpsertGameAnswer(ctx context.Context, arg AppFlagsUpsertGameAnswerParams) error
- func (q *Queries) AppUploaderAccessAll(ctx context.Context, fileID uuid.UUID) ([]AppUploaderFilesAccess, error)
- func (q *Queries) AppUploaderAccessCount(ctx context.Context, id uuid.UUID) (int64, error)
- func (q *Queries) AppUploaderAccessCreate(ctx context.Context, arg AppUploaderAccessCreateParams) error
- func (q *Queries) AppUploaderAll(ctx context.Context, uid string) ([]AppUploaderFile, error)
- func (q *Queries) AppUploaderCreate(ctx context.Context, arg AppUploaderCreateParams) (uuid.UUID, error)
- func (q *Queries) AppUploaderDelete(ctx context.Context, id uuid.UUID) error
- func (q *Queries) AppUploaderGet(ctx context.Context, fileCrypto string) (AppUploaderFile, error)
- func (q *Queries) CreateSession(ctx context.Context, arg CreateSessionParams) error
- func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) error
- func (q *Queries) DeleteUser(ctx context.Context, uid string) error
- func (q *Queries) ExpireSession(ctx context.Context, token string) error
- func (q *Queries) GetActiveSessions(ctx context.Context, arg GetActiveSessionsParams) ([]Session, error)
- func (q *Queries) GetPGSize(ctx context.Context) (string, error)
- func (q *Queries) GetSession(ctx context.Context, token string) (Session, error)
- func (q *Queries) GetSessions(ctx context.Context, arg GetSessionsParams) ([]Session, error)
- func (q *Queries) GetUser(ctx context.Context, uid string) (User, error)
- func (q *Queries) GetUserById(ctx context.Context, id int32) (User, error)
- func (q *Queries) GetUserUid(ctx context.Context, id int32) (string, error)
- func (q *Queries) QuickUpdateSession(ctx context.Context, arg QuickUpdateSessionParams) (string, error)
- func (q *Queries) UpdateUserData(ctx context.Context, arg UpdateUserDataParams) error
- func (q *Queries) WithTx(tx *sql.Tx) *Queries
- type QuickUpdateSessionParams
- type Session
- type SessionIp
- type UpdateUserDataParams
- type User
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppFlagsCreateGameParams ¶
type AppFlagsCreateGameParams struct { Uid sql.NullString Tags []string QuestionAmount int32 Seconds int32 }
type AppFlagsCreateGameRow ¶
type AppFlagsGame ¶
type AppFlagsGamesAnswer ¶
type AppFlagsGamesSharedDatum ¶
type AppFlagsGamesSharedDatum struct {}
type AppFlagsNewSharedDataParams ¶
type AppFlagsNewSharedDataParams struct {}
type AppUploaderCreateParams ¶
type AppUploaderFile ¶
type AppUploaderFilesAccess ¶
type CreateSessionParams ¶
type CreateUserParams ¶
type GetActiveSessionsParams ¶
type GetActiveSessionsParams struct { Uid string Column2 interface{} }
type GetSessionsParams ¶
type GetSessionsParams struct { Uid string Column2 interface{} }
type Queries ¶
type Queries struct {
// contains filtered or unexported fields
}
func (*Queries) AppFlagsCreateGame ¶
func (q *Queries) AppFlagsCreateGame(ctx context.Context, arg AppFlagsCreateGameParams) (AppFlagsCreateGameRow, error)
func (*Queries) AppFlagsCreateGameWithSeed ¶
func (*Queries) AppFlagsGetGame ¶
func (*Queries) AppFlagsGetSharedData ¶
func (*Queries) AppFlagsNewSharedData ¶
func (*Queries) AppFlagsUpdateGame ¶
func (q *Queries) AppFlagsUpdateGame(ctx context.Context, arg AppFlagsUpdateGameParams) error
func (*Queries) AppFlagsUpdateQuestionCorrect ¶
func (*Queries) AppFlagsUpsertGameAnswer ¶
func (q *Queries) AppFlagsUpsertGameAnswer(ctx context.Context, arg AppFlagsUpsertGameAnswerParams) error
func (*Queries) AppUploaderAccessAll ¶ added in v0.0.6
func (*Queries) AppUploaderAccessCount ¶
func (*Queries) AppUploaderAccessCreate ¶
func (q *Queries) AppUploaderAccessCreate(ctx context.Context, arg AppUploaderAccessCreateParams) error
func (*Queries) AppUploaderAll ¶ added in v0.0.6
func (*Queries) AppUploaderCreate ¶
func (*Queries) AppUploaderDelete ¶ added in v0.0.6
func (*Queries) AppUploaderGet ¶
func (*Queries) CreateSession ¶
func (q *Queries) CreateSession(ctx context.Context, arg CreateSessionParams) error
func (*Queries) CreateUser ¶
func (q *Queries) CreateUser(ctx context.Context, arg CreateUserParams) error
func (*Queries) ExpireSession ¶
func (*Queries) GetActiveSessions ¶
func (*Queries) GetSession ¶
func (*Queries) GetSessions ¶
func (*Queries) GetUserById ¶
func (*Queries) GetUserUid ¶
func (*Queries) QuickUpdateSession ¶
func (*Queries) UpdateUserData ¶
func (q *Queries) UpdateUserData(ctx context.Context, arg UpdateUserDataParams) error
type UpdateUserDataParams ¶
Click to show internal directories.
Click to hide internal directories.