Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AllowedKeys ¶
type AllowedKeys struct { Enable bool `mapstructure:"enable"` Items []string `mapstructure:"items"` // contains filtered or unexported fields }
func NewAllowedKeys ¶
func NewAllowedKeys(fp, key string) (cfg *AllowedKeys, err error)
func (*AllowedKeys) Check ¶
func (cfg *AllowedKeys) Check(item string) bool
Click to show internal directories.
Click to hide internal directories.