Documentation ¶
Index ¶
- type Adapter
- func (a *Adapter) Get(ctx context.Context, key string) (string, error)
- func (a *Adapter) GetUser(ctx context.Context, telegramID int64) (*domain.User, error)
- func (a *Adapter) Set(ctx context.Context, key string, value any) error
- func (a *Adapter) SetUser(ctx context.Context, telegramID int64, user *domain.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.