Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller struct {
// contains filtered or unexported fields
}
Controller контроллер для уведомлений.
func New ¶
func New(repo notificationRepo, tracer trace.Tracer) *Controller
New создает новый Controller.
func (*Controller) Switch ¶
func (ctrl *Controller) Switch(ctx context.Context, params model.NotificationUpdateReq) error
Switch включает или выключает уведомления.
Click to show internal directories.
Click to hide internal directories.