package
0.0.0-20241108064744-8a5eb788459c
Repository: https://github.com/xyzj/mqtt-server.git
Documentation: pkg.go.dev

# Functions

MatchTopic checks if a given topic matches a filter, accounting for filter wildcards.

# Constants

user cannot access the topic.
user can only subscribe to the topic.
user can both publish and subscribe to the topic.
user can only publish to the topic.

# Structs

ACLRule defines access rules for a specific topic or filter.
AllowHook is an authentication hook which allows connection access for all users and read and write access to all topics.
No description provided by the author
Hook is an authentication hook which implements an auth ledger.
Ledger is an auth ledger containing access rules for users and topics.
Options contains the configuration/rules data for the auth ledger.
UserRule defines a set of access rules for a specific user.

# Type aliases

Access determines the read/write privileges for an ACL rule.
ACLRules defines generic topic or filter access rules applicable to all users.
AuthRules defines generic access rules applicable to all users.
Filters is a map of Access rules keyed on filter.
RString is a rule value string.
Users contains a map of access rules for specific users, keyed on username.