acl

package
v0.8.9 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: MIT Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ACL

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

func (*ACL) AsTable

func (acl *ACL) AsTable() *lib.Table

func (*ACL) AsTableWithPIN added in v0.8.4

func (acl *ACL) AsTableWithPIN() *lib.Table

func (*ACL) Hash added in v0.6.12

func (acl *ACL) Hash() string

func (*ACL) ToTSV

func (acl *ACL) ToTSV(f io.Writer) error

func (*ACL) ToTSVWithPIN added in v0.8.4

func (acl *ACL) ToTSVWithPIN(f io.Writer) error

func (*ACL) Updated added in v0.6.12

func (acl *ACL) Updated(hash string) bool

type Rules

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

func NewRules

func NewRules(ruleset []byte, debug bool) (*Rules, error)

func (*Rules) Hash

func (rules *Rules) Hash() string

func (*Rules) MakeACL

func (rules *Rules) MakeACL(members types.Members, doors []string) (*ACL, error)

func (*Rules) MakeACLWithPIN added in v0.8.4

func (rules *Rules) MakeACLWithPIN(members types.Members, doors []string) (*ACL, error)

func (*Rules) Updated

func (rules *Rules) Updated(hash string) bool

Jump to

Keyboard shortcuts

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