Documentation
¶
Index ¶
- func GetAPIKeys() []string
- func GetBindHost() string
- func GetBindPort() int
- func GetClosedPin() int
- func GetMQTTClientID() string
- func GetMQTTDiscoveryPrefix() string
- func GetMQTTEnabled() bool
- func GetMQTTObjectID() string
- func GetMQTTPassword() string
- func GetMQTTURL() string
- func GetMQTTUsername() string
- func GetMode() string
- func GetOpenPin() int
- func GetTogglePin() int
- func Verify() error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetBindHost ¶
func GetBindHost() string
GetBindHost returns the host to bind the web server to.
func GetClosedPin ¶
func GetClosedPin() int
GetClosedPin returns the GPIO pin number for the closed state.
func GetMQTTClientID ¶ added in v0.0.2
func GetMQTTClientID() string
GetMQTTClientID returns the client ID for the MQTT client.
func GetMQTTDiscoveryPrefix ¶ added in v0.0.2
func GetMQTTDiscoveryPrefix() string
GetMQTTDiscoveryPrefix returns the discovery prefix for the MQTT client.
func GetMQTTEnabled ¶ added in v0.0.2
func GetMQTTEnabled() bool
GetMQTTEnabled returns whether MQTT is enabled.
func GetMQTTObjectID ¶ added in v0.0.2
func GetMQTTObjectID() string
GetMQTTObjectID returns the object ID for the MQTT client.
func GetMQTTPassword ¶ added in v0.0.2
func GetMQTTPassword() string
GetMQTTPassword returns the password for the MQTT client.
func GetMQTTURL ¶ added in v0.0.2
func GetMQTTURL() string
GetMQTTURL returns the URL for the MQTT broker.
func GetMQTTUsername ¶ added in v0.0.2
func GetMQTTUsername() string
GetMQTTUsername returns the client ID for the MQTT client.
func GetTogglePin ¶
func GetTogglePin() int
GetTogglePin returns the GPIO pin number for the toggle state.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.