Documentation
¶
Index ¶
- type AllowedDirs
- type Table
- func (t *Table) Allow(dir string)
- func (t *Table) Deny(dir string)
- func (t *Table) Dispose() (err error)
- func (t *Table) EmptyRulesFile() error
- func (t *Table) GetAllowedDirs() map[string]bool
- func (t *Table) IsDeny(dir string) (deny bool)
- func (t *Table) LoadTable() (err error)
- func (t *Table) Open() (err error)
- func (t *Table) Watch()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowedDirs ¶
func LoadTable ¶
func LoadTable(r io.Reader) AllowedDirs
type Table ¶
type Table struct {
// contains filtered or unexported fields
}
func (*Table) EmptyRulesFile ¶
func (*Table) GetAllowedDirs ¶
Click to show internal directories.
Click to hide internal directories.