mosquitto

package module
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2024 License: AGPL-3.0 Imports: 16 Imported by: 0

README

API Service mosquitto

The apiservice mosquitto implements the MQTTBroker API for the MQTT broker mosquitto.

Note: Perinet products implement a minimal set of RESTful API service, so called base-services. The specification of those is located in the unified API repository.

References

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MQTTBroker_Restart

func MQTTBroker_Restart(p periHttp.PeriHttp)

func Mqttbroker_Clients_Get

func Mqttbroker_Clients_Get(p periHttp.PeriHttp)

func Mqttbroker_Config_Get

func Mqttbroker_Config_Get(p periHttp.PeriHttp)

func Mqttbroker_Config_Set

func Mqttbroker_Config_Set(p periHttp.PeriHttp)

func Mqttbroker_Get

func Mqttbroker_Get(p periHttp.PeriHttp)

func Mqttbroker_Log_Get

func Mqttbroker_Log_Get(p periHttp.PeriHttp)

func PathsGet

func PathsGet() []httpserver.PathInfo

func SetServiceConfig

func SetServiceConfig(config ServiceConfig)

Types

type MQTTBrokerInfo

type MQTTBrokerInfo struct {
	ApiVersion    uint32               `json:"api_version"`
	ErrorStatus   node.NodeErrorStatus `json:"error_status"`
	SecurityLevel string               `json:"security_level"`
}

type ServiceConfig

type ServiceConfig struct {
	StoragePath             string
	ListenerConfigPath      string
	MosquittoLogFilePath    string
	MosquittoUserConfigPath string
	BrokerRestartCallback   func() bool
}

Directories

Path Synopsis
Package apiservice_diagnostics_mosquitto implements the RESTful API to the mosquitto diagnostics service
Package apiservice_diagnostics_mosquitto implements the RESTful API to the mosquitto diagnostics service

Jump to

Keyboard shortcuts

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