factory

package
v0.2.10 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: BSD-2-Clause Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBridgesProvider

func CreateBridgesProvider(
	url string,
	id string,
	token pkg.Token,
) pkg.BridgesProvider

func CreateCheckController

func CreateCheckController(
	url string,
	id string,
	token pkg.Token,
	inverval time.Duration,
	summerMode bool,
	currentDateTimeGetter libtime.CurrentDateTimeGetter,
) run.Func

func CreateListLightsHandler

func CreateListLightsHandler(bridgesProvider pkg.BridgesProvider) http.Handler

CreateListLightsHandler wraps handler.NewListLightsHandler with the canonical libhttp error handler so it can be mounted on a mux.Router.

func CreateStatusHandler

func CreateStatusHandler(bridgesProvider pkg.BridgesProvider) http.Handler

CreateStatusHandler wraps handler.NewStatusHandler with the canonical libhttp error handler so it can be mounted on a mux.Router.

Types

This section is empty.

Jump to

Keyboard shortcuts

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