Documentation ¶ Index ¶ func Load(opts ...Option) func Lookup(mac net.HardwareAddr) (name string) func SetFlags(fs *pflag.FlagSet, cfg *Config) type Config type Entry type Option func WithDirectory(x string) Option func WithFilename(x string) Option func WithUrl(x string) Option type Options Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Load ¶ func Load(opts ...Option) func Lookup ¶ func Lookup(mac net.HardwareAddr) (name string) func SetFlags ¶ func SetFlags(fs *pflag.FlagSet, cfg *Config) Types ¶ type Config ¶ type Config struct { Enabled bool Url string Directory string Filename string } type Entry ¶ type Entry struct { Prefix string Name string } type Option ¶ type Option func(*Options) func WithDirectory ¶ func WithDirectory(x string) Option func WithFilename ¶ func WithFilename(x string) Option func WithUrl ¶ func WithUrl(x string) Option type Options ¶ type Options struct { // contains filtered or unexported fields } Source Files ¶ View all Source files config.godb.gooptions.gooui.go Click to show internal directories. Click to hide internal directories.