Documentation ¶
Index ¶
- func CreateAccount(ctx context.Context, db db.Queryer, accountID uuid.UUID, password string) (err error)
- func CreateSession(ctx context.Context, db db.Queryer, accountID uuid.UUID) (token string, err error)
- func DeleteAccount(ctx context.Context, db db.Queryer, accountID uuid.UUID) (err error)
- func DeleteSession(ctx context.Context, db db.Queryer, token string) (err error)
- func RefreshSession(ctx context.Context, db db.Queryer, oldToken string) (newToken string, err error)
- type Account
- type ApiKey
- type Session
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateAccount ¶
func CreateSession ¶
func DeleteAccount ¶
func DeleteSession ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.