auth

package
v2.3.9 Latest Latest
Warning

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

Go to latest
Published: Aug 1, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckAcl

func CheckAcl(tam map[string]auth.Access, write bool) bool

Types

type Blacklist

type Blacklist struct {
	// contains filtered or unexported fields
}

func (*Blacklist) CheckBLAcl

func (b *Blacklist) CheckBLAcl(cl *mqtt.Client, topic string, write bool) (n int, ok bool)

func (*Blacklist) CheckBLAuth

func (b *Blacklist) CheckBLAuth(cl *mqtt.Client, pk packets.Packet) (n int, ok bool)

func (*Blacklist) SetBlacklist

func (b *Blacklist) SetBlacklist(bl *auth.Ledger)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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