Documentation ¶
Index ¶
- type Repo
- func (r *Repo) CheckNotification(ctx context.Context, params model.NotificationDao) (bool, error)
- func (r *Repo) DeleteOne(ctx context.Context, email string) error
- func (r *Repo) GetEmailByUsername(ctx context.Context, username string) (string, error)
- func (r *Repo) InsertOne(ctx context.Context, params model.NotificationDao) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
Repo репозиторий для уведомлений.
func (*Repo) CheckNotification ¶
CheckNotification проверяет наличие уведомления.
func (*Repo) GetEmailByUsername ¶
GetEmailByUsername возвращает email по username.
Click to show internal directories.
Click to hide internal directories.