device_use_case

package
v0.1.8 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeleteDevicesByUsername

type DeleteDevicesByUsername struct {
	// contains filtered or unexported fields
}

func NewDeleteDevicesByUsername

func NewDeleteDevicesByUsername(deviceRepository contract.DeviceRepository) *DeleteDevicesByUsername

func (*DeleteDevicesByUsername) Execute

func (d *DeleteDevicesByUsername) Execute(ctx context.Context, username string) error

type ListDevicesByUsernameUseCase

type ListDevicesByUsernameUseCase struct {
	// contains filtered or unexported fields
}

func NewListDevicesByUsernameUseCase

func NewListDevicesByUsernameUseCase(deviceRepository contract.DeviceRepository) *ListDevicesByUsernameUseCase

func (*ListDevicesByUsernameUseCase) Execute

func (l *ListDevicesByUsernameUseCase) Execute(ctx context.Context, username string) ([]*string, error)

type ListDevicesOutput added in v0.1.8

type ListDevicesOutput struct {
	ID       string
	Username string
}

type ListDevicesUseCase

type ListDevicesUseCase struct {
	// contains filtered or unexported fields
}

func NewListDevicesUseCase

func NewListDevicesUseCase(deviceRepository contract.DeviceRepository) *ListDevicesUseCase

func (*ListDevicesUseCase) Execute

Jump to

Keyboard shortcuts

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