usecases

package
v0.0.0-...-9442cf9 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetNotificationTypeUseCase

type GetNotificationTypeUseCase interface {
	GetNotificationTypes() ([]entities.NotificationType, error)
}

type GetNotificationUseCase

type GetNotificationUseCase interface {
	GetNotificationSettings(username string) ([]entities.NotificationSetting, error)
}

type GetUserProfileUseCase

type GetUserProfileUseCase interface {
	GetUserProfile(ctx context.Context) (*entities.UserProfile, error)
}

type UpdateNotificationUseCase

type UpdateNotificationUseCase interface {
	Update(username string, typeID uuid.UUID, active bool) error
}

type UpdateUserProfileUseCase

type UpdateUserProfileUseCase interface {
	Update(username string, update entities.UpdateProfile) error
}

Jump to

Keyboard shortcuts

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