controller

package
v0.0.0-...-caa72ac Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2022 License: MIT Imports: 6 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
}

func NewDeviceController

func NewDeviceController(ctx context.Context, u *usecase.DeviceUseCase) *Controller

func (Controller) AddDevice

func (c Controller) AddDevice(e echo.Context) error

func (Controller) FindAll

func (c Controller) FindAll(e echo.Context) error

func (Controller) FindById

func (c Controller) FindById(e echo.Context) error

type DeviceController

type DeviceController interface {
	FindAll(c echo.Context) error
	FindById(c echo.Context) error
	AddDevice(c echo.Context) error
}

Jump to

Keyboard shortcuts

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