settings

package
v0.0.0-...-b015d54 Latest Latest
Warning

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

Go to latest
Published: May 22, 2023 License: GPL-3.0 Imports: 2 Imported by: 0

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

Jump to

Keyboard shortcuts

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