Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Models ¶
type Models interface { GetUserByID(ctx context.Context, id int64) (*User, error) // TODO: rm after transition period SetUserID(ctx context.Context, username string, id int64) error UpsertUser(ctx context.Context, user *User) error GetWhitelisted(ctx context.Context, userID int64) (bool, error) SetWhitelisted(ctx context.Context, userID int64, whitelisted bool) error }
Click to show internal directories.
Click to hide internal directories.