Documentation ¶
Index ¶
Constants ¶
View Source
const ( OpRead = iota OpWrite OpPeer )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
func Load ¶
Load ACL rules from a text file. The file should contain one rule per line, either:
<identity> <path> <op(READ|WRITE)>
or:
<identity> <op(PEER)>
(PEER ACLs have no path). Empty lines and lines starting with a # are ignored.
func NewManager ¶
type NullManager ¶
type NullManager struct{}
func NewNullManager ¶
func NewNullManager() *NullManager
Click to show internal directories.
Click to hide internal directories.