Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NamedSetOpts ¶
type NamedSetOpts struct { SetOpts // contains filtered or unexported fields }
NamedSetOpts is a SetOpts struct with a configuration name. This struct is useful to keep reference to the assigned field name in the internal configuration struct.
func NewNamedSetOpts ¶
func NewNamedSetOpts(name string, values map[string]bool) *NamedSetOpts
NewNamedSetOpts creates a reference to a new NamedSetOpts struct.
func (*NamedSetOpts) Name ¶
func (o *NamedSetOpts) Name() string
Name returns the name of the NamedSetOpts in the configuration.
type SetOpts ¶
type SetOpts struct {
// contains filtered or unexported fields
}
SetOpts holds a map of values and a validation function.
func NewSetOpts ¶
NewSetOpts creates a new SetOpts with the specified set of values as a map of string to bool.
Click to show internal directories.
Click to hide internal directories.