Documentation
¶
Index ¶
- func CreateBridgesProvider(url string, id string, token pkg.Token) pkg.BridgesProvider
- func CreateCheckController(url string, id string, token pkg.Token, inverval time.Duration) run.Func
- func CreateListLightsHandler(bridgesProvider pkg.BridgesProvider) http.Handler
- func CreateStatusHandler(bridgesProvider pkg.BridgesProvider) http.Handler
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CreateBridgesProvider ¶
func CreateCheckController ¶
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.
Click to show internal directories.
Click to hide internal directories.