Documentation ¶
Index ¶
- type Storage
- func (s *Storage) App(ctx context.Context, id int) (*models.App, error)
- func (s *Storage) IsAdmin(ctx context.Context, userID int) (bool, error)
- func (s *Storage) SaveUser(ctx context.Context, email string, passHash []byte) (int, error)
- func (s *Storage) User(ctx context.Context, email string) (*models.User, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
Click to show internal directories.
Click to hide internal directories.