Documentation
¶
Index ¶
- type Storage
- func (s *Storage) Close()
- func (s *Storage) CreateUser(ctx context.Context, chatID int64, user models.User) error
- func (s *Storage) GetUser(ctx context.Context, chatID int64) (models.User, error)
- func (s *Storage) RemoveUser(ctx context.Context, chatID int64) error
- func (s *Storage) UpdateUser(ctx context.Context, chatID int64, user models.User) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Storage ¶
type Storage struct {
// contains filtered or unexported fields
}
func (*Storage) CreateUser ¶
func (*Storage) RemoveUser ¶
Click to show internal directories.
Click to hide internal directories.