Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Auth ¶
Auth is an auth controller which allows access to all connections and topics.
func (*Auth) OnACLCheck ¶
OnACLCheck returns true if the connecting client has matching read or write access to subscribe or publish to a given topic.
func (*Auth) OnConnectAuthenticate ¶
OnConnectAuthenticate returns true if the connecting client has rules which provide access in the auth ledger.
type Options ¶
type Options struct { pa.Blacklist RedisOptions *redisOptions `json:"redis-options" yaml:"redis-options"` AuthMode byte `json:"auth-mode" yaml:"auth-mode"` AuthKeyPrefix string `json:"auth-prefix" yaml:"auth-prefix"` AclMode byte `json:"acl-mode" yaml:"acl-mode"` AclKeyPrefix string `json:"acl-prefix" yaml:"acl-prefix"` PasswordHash pa.HashType `json:"password-hash" yaml:"password-hash"` HashKey string `json:"hash-key" yaml:"hash-key"` }
Click to show internal directories.
Click to hide internal directories.