garagepiservice

package
v0.0.0-...-e8aaa87 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WarningLogger *log.Logger
	InfoLogger    *log.Logger
	ErrorLogger   *log.Logger
)

Functions

func PressButton1

func PressButton1(w http.ResponseWriter, r *http.Request)

func PressButton2

func PressButton2(w http.ResponseWriter, r *http.Request)

Types

type PressResponse

type PressResponse struct {
	Result    bool   `json:"RESULT"`
	Button    int    `json:"Button"`
	GPIOPin   int    `json:"GPIOPIN"`
	Duration  int    `json:"DURATION"`
	Timestamp string `json:"TIMESTAMP"`
}

Jump to

Keyboard shortcuts

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