Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LoadConfig ¶
Types ¶
type Config ¶
type Permissions ¶
func (Permissions) AllowedDestination ¶
func (*Permissions) UnmarshalText ¶
func (p *Permissions) UnmarshalText(data []byte) error
type Rule ¶
type Rule struct { Permissions Permissions `toml:"permissions"` Path string `toml:"path"` Regex *regexp.Regexp `toml:"regex"` }
Click to show internal directories.
Click to hide internal directories.