usecases

package
v0.0.0-...-be3bc7e Latest Latest
Warning

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

Go to latest
Published: Sep 24, 2021 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 FeedImpl

type FeedImpl struct {
	LibInfrastructure libInfra.Interactor
	LibUsecases       libFeed.Usecases
}

FeedImpl represents the Feed usecase implementation

func NewFeed

func NewFeed(
	libInfra libInfra.Interactor,
	libUsecases libFeed.Usecases,
) *FeedImpl

NewFeed initializes a Feed usecase

type FeedUsecases

type FeedUsecases interface {
	libFeed.Usecases
}

FeedUsecases represent logic required to make Feed

type NotificationImpl

type NotificationImpl struct {
	LibRepository libRepository.Repository
	LibUsecases   libNotification.NotificationUsecases
}

NotificationImpl represents the notification usecase implementation

func NewNotification

func NewNotification(
	libRepository libRepository.Repository,
	libUsecases libNotification.NotificationUsecases,
) *NotificationImpl

NewNotification initializes a notification usecase

type NotificationUsecases

type NotificationUsecases interface {
	libNotification.NotificationUsecases
}

NotificationUsecases represent logic required to make notification

Jump to

Keyboard shortcuts

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