controller

package
v0.0.0-...-055cc3d Latest Latest
Warning

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

Go to latest
Published: Jan 16, 2024 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 Controllers

type Controllers interface {
	User() User
	Device() Device
	Reading() Reading
	Firmware() Firmware

	Route(e *echo.Echo)
}

func NewControllers

func NewControllers(services service.Services) Controllers

type Device

type Device interface {
	List(c echo.Context) error
	Create(c echo.Context) error
	Update(c echo.Context) error
	Delete(c echo.Context) error

	Config(c echo.Context) error
}

type Firmware

type Firmware interface {
	Index(c echo.Context) error
	Download(c echo.Context) error
}

type Reading

type Reading interface {
	List(c echo.Context) error
}

type User

type User interface {
	Login(c echo.Context) error
	Register(c echo.Context) error
}

Jump to

Keyboard shortcuts

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