interactor

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package interactor represent reusable chunks of code that abstract logic from presenters while simplifying your app and making future changes effortless.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Interactor

type Interactor struct {
	Onboarding usecases.ProfileUseCase
	Signup     usecases.SignUpUseCases
	Login      usecases.LoginUseCases
	Survey     usecases.SurveyUseCases
	UserPIN    usecases.UserPINUseCases
	AdminSrv   admin.Usecase
	Role       usecases.RoleUseCase
}

Interactor represents an assemble of all use cases into a single object that can be instantiated anywhere

func NewOnboardingInteractor

NewOnboardingInteractor returns a new onboarding interactor

Jump to

Keyboard shortcuts

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