controller

package
v0.0.0-...-75f25d5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 24, 2024 License: BSD-3-Clause Imports: 5 Imported by: 0

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 включает или выключает уведомления.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL