Documentation
¶
Index ¶
Constants ¶
View Source
const CLIENT_ID = "status2Go"
Variables ¶
This section is empty.
Functions ¶
func GenerateRandomBytes ¶
GenerateRandomBytes returns securely generated random bytes. It will fail with a fatal log if the system's secure random number generator fails to function correctly
func GenerateRandomString ¶
GenerateRandomString returns a URL-safe, base64 encoded securely generated random string. It will fail with a fatal log if the system's secure random number generator fails to function correctly
Types ¶
type MqttManager ¶
type MqttManager struct {
// contains filtered or unexported fields
}
func NewMqttManager ¶
func NewMqttManager(conf conf.MqttConf, events events.EventManager, appState *state.State) *MqttManager
func (*MqttManager) SendNewSpaceStatus ¶
func (h *MqttManager) SendNewSpaceStatus(status state.OpenValue)
Click to show internal directories.
Click to hide internal directories.