multi

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2022 License: BSD-3-Clause Imports: 5 Imported by: 83

Documentation

Index

Constants

View Source
const SEP string = "="

Variables

This section is empty.

Functions

This section is empty.

Types

type KeyValueCSVString added in v0.10.0

type KeyValueCSVString []*KeyValueStringFlag

func (*KeyValueCSVString) Set added in v0.10.0

func (e *KeyValueCSVString) Set(value string) error

func (*KeyValueCSVString) String added in v0.10.0

func (e *KeyValueCSVString) String() string

type KeyValueFlag

type KeyValueFlag interface {
	Key() string
	Value() interface{}
}

type KeyValueFloat64 added in v0.7.0

type KeyValueFloat64 []*KeyValueFloat64Flag

func (*KeyValueFloat64) Get added in v0.7.0

func (e *KeyValueFloat64) Get() interface{}

func (*KeyValueFloat64) Set added in v0.7.0

func (e *KeyValueFloat64) Set(value string) error

func (*KeyValueFloat64) String added in v0.7.0

func (e *KeyValueFloat64) String() string

type KeyValueFloat64Flag added in v0.7.0

type KeyValueFloat64Flag struct {
	// contains filtered or unexported fields
}

func (*KeyValueFloat64Flag) Key added in v0.7.0

func (e *KeyValueFloat64Flag) Key() string

func (*KeyValueFloat64Flag) Value added in v0.7.0

func (e *KeyValueFloat64Flag) Value() interface{}

type KeyValueInt64 added in v0.7.0

type KeyValueInt64 []*KeyValueInt64Flag

func (*KeyValueInt64) Get added in v0.7.0

func (e *KeyValueInt64) Get() interface{}

func (*KeyValueInt64) Set added in v0.7.0

func (e *KeyValueInt64) Set(value string) error

func (*KeyValueInt64) String added in v0.7.0

func (e *KeyValueInt64) String() string

type KeyValueInt64Flag added in v0.7.0

type KeyValueInt64Flag struct {
	// contains filtered or unexported fields
}

func (*KeyValueInt64Flag) Key added in v0.7.0

func (e *KeyValueInt64Flag) Key() string

func (*KeyValueInt64Flag) Value added in v0.7.0

func (e *KeyValueInt64Flag) Value() interface{}

type KeyValueString added in v0.7.0

type KeyValueString []*KeyValueStringFlag

func (*KeyValueString) Get added in v0.7.0

func (e *KeyValueString) Get() interface{}

func (*KeyValueString) Set added in v0.7.0

func (e *KeyValueString) Set(value string) error

func (*KeyValueString) String added in v0.7.0

func (e *KeyValueString) String() string

type KeyValueStringFlag added in v0.7.0

type KeyValueStringFlag struct {
	KeyValueFlag
	// contains filtered or unexported fields
}

func (*KeyValueStringFlag) Key added in v0.7.0

func (e *KeyValueStringFlag) Key() string

func (*KeyValueStringFlag) Value added in v0.7.0

func (e *KeyValueStringFlag) Value() interface{}

type MultiBool added in v0.8.3

type MultiBool []bool

func (*MultiBool) Get added in v0.8.3

func (m *MultiBool) Get() interface{}

func (*MultiBool) Set added in v0.8.3

func (m *MultiBool) Set(value bool) error

type MultiCSVString added in v0.9.0

type MultiCSVString []string

func (*MultiCSVString) Contains added in v0.9.0

func (m *MultiCSVString) Contains(value string) bool

func (*MultiCSVString) Get added in v0.9.0

func (m *MultiCSVString) Get() interface{}

func (*MultiCSVString) Set added in v0.9.0

func (m *MultiCSVString) Set(value string) error

func (*MultiCSVString) String added in v0.9.0

func (m *MultiCSVString) String() string

type MultiFloat64 added in v0.8.3

type MultiFloat64 []float64

func (*MultiFloat64) Contains added in v0.8.3

func (m *MultiFloat64) Contains(value float64) bool

func (*MultiFloat64) Get added in v0.8.3

func (m *MultiFloat64) Get() interface{}

func (*MultiFloat64) Set added in v0.8.3

func (m *MultiFloat64) Set(str_value string) error

func (*MultiFloat64) String added in v0.8.3

func (m *MultiFloat64) String() string

type MultiInt added in v0.8.0

type MultiInt []int

func (*MultiInt) Contains added in v0.8.0

func (m *MultiInt) Contains(value int) bool

func (*MultiInt) Get added in v0.8.0

func (m *MultiInt) Get() interface{}

func (*MultiInt) Set added in v0.8.0

func (m *MultiInt) Set(str_value string) error

func (*MultiInt) String added in v0.8.0

func (m *MultiInt) String() string

type MultiInt64

type MultiInt64 []int64

func (*MultiInt64) Contains

func (m *MultiInt64) Contains(value int64) bool

func (*MultiInt64) Get added in v0.7.0

func (m *MultiInt64) Get() interface{}

func (*MultiInt64) Set

func (m *MultiInt64) Set(str_value string) error

func (*MultiInt64) String

func (m *MultiInt64) String() string

type MultiRegexp

type MultiRegexp []*regexp.Regexp

func (*MultiRegexp) Get added in v0.7.0

func (i *MultiRegexp) Get() interface{}

func (*MultiRegexp) Set

func (i *MultiRegexp) Set(value string) error

func (*MultiRegexp) String

func (i *MultiRegexp) String() string

type MultiString

type MultiString []string

func (*MultiString) Contains

func (m *MultiString) Contains(value string) bool

func (*MultiString) Get added in v0.7.0

func (m *MultiString) Get() interface{}

func (*MultiString) Set

func (m *MultiString) Set(value string) error

func (*MultiString) String

func (m *MultiString) String() string

Jump to

Keyboard shortcuts

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