Documentation ¶
Index ¶
- Constants
- type ConnectionError
- type Dynsec
- func (d *Dynsec) AddClientRole(client string, role string) error
- func (d *Dynsec) AddRoleACL(role, aclType, topicFilter, allowOrDeny string, priority int) error
- func (d *Dynsec) CreateClient(name, password string) error
- func (d *Dynsec) CreateRole(name string) error
- func (d *Dynsec) DeleteClient(name string) error
- func (d *Dynsec) DeleteRole(name string) error
- type Logger
- type LoggerStd
Constants ¶
View Source
const DefaultDynsecConfigFile = "/mosquitto/config/dynamic-security.json"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ConnectionError ¶
type ConnectionError struct {
Reason string
}
ConnectionError represents MQTT errors printed to stderr See https://github.com/eclipse/mosquitto/blob/master/lib/strings_mosq.c for possible error messages Example: Connection error: Not authorized
func (*ConnectionError) Error ¶
func (ce *ConnectionError) Error() string
type Dynsec ¶
type Dynsec struct { Logger Logger // contains filtered or unexported fields }
func (*Dynsec) AddRoleACL ¶
func (*Dynsec) CreateClient ¶
func (*Dynsec) CreateRole ¶
func (*Dynsec) DeleteClient ¶
func (*Dynsec) DeleteRole ¶
Click to show internal directories.
Click to hide internal directories.