doorapi

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2024 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CurrentStateEndpoint

func CurrentStateEndpoint(grp *app.Router)

CurrentStateEndpoint returns the current state of the door and when the next state change is expected.

func OverwriteEndpoint

func OverwriteEndpoint(grp *app.Router)

OverwriteEndpoint allows to overwrite the door state for a specified amount of time.

func ResetDoorEndpoint

func ResetDoorEndpoint(grp *app.Router)

ResetDoorEndpoint resets the door controller and the door itself and re-applies the current expected state.

func Setup

func Setup(a *app.App, grp *echo.Group)

Setup registers all routes for the door controller.

func TestStateEndpoint

func TestStateEndpoint(grp *app.Router)

TestStateEndpoint allows to test the desired door state for any point in time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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