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 DsnInfo ¶
type DsnInfo struct {
Host string `json:"host" yaml:"host"`
Port int `json:"port" yaml:"port"`
Schema string `json:"schema" yaml:"schema"`
SslMode string `json:"sslmode" yaml:"sslmode"`
LoginName string `json:"login-name" yaml:"login-name"`
LoginPassword string `json:"login-password" yaml:"login-password"`
MaxOpenConns int `json:"max-open-conns" yaml:"max-open-conns"`
MaxIdleConns int `json:"max-idle-conns" yaml:"max-idle-conns"`
}
Click to show internal directories.
Click to hide internal directories.