Documentation
¶
Index ¶
- type Storage
- func (s *Storage) App(ctx context.Context, id int) (models.App, error)
- func (s *Storage) Delete(ctx context.Context, id int64) error
- func (s *Storage) IsAdmin(ctx context.Context, id int64) (bool, error)
- func (s *Storage) Register(ctx context.Context, email, password string) (int64, error)
- func (s *Storage) Update(ctx context.Context, id int64, email, password string) 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.