mirror of
https://github.com/gabehf/Koito.git
synced 2026-04-23 04:21:51 -07:00
api
This commit is contained in:
parent
e45099c71a
commit
c8b1bd3576
8 changed files with 564 additions and 0 deletions
|
|
@ -30,6 +30,7 @@ type DB interface {
|
|||
GetUserBySession(ctx context.Context, sessionId uuid.UUID) (*models.User, error)
|
||||
GetUserByUsername(ctx context.Context, username string) (*models.User, error)
|
||||
GetUserByApiKey(ctx context.Context, key string) (*models.User, error)
|
||||
GetInterest(ctx context.Context, opts GetInterestOpts) ([]InterestBucket, error)
|
||||
|
||||
// Save
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue