Documentation
¶
Index ¶
- type Levels
- func (i Levels) Desc() string
- func (i Levels) Int64() int64
- func (i Levels) MarshalText() ([]byte, error)
- func (i *Levels) SetInt64(in int64)
- func (i *Levels) SetString(s string) error
- func (i Levels) String() string
- func (i *Levels) UnmarshalText(text []byte) error
- func (i Levels) Values() []enums.Enum
- type Modes
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Levels ¶
type Levels int32 //enums:enum
const LevelsN Levels = 4
LevelsN is the highest valid value for type Levels, plus one.
func LevelsValues ¶
func LevelsValues() []Levels
LevelsValues returns all possible values for the type Levels.
func (Levels) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Levels) SetString ¶
SetString sets the Levels value from its string representation, and returns an error if the string is invalid.
func (*Levels) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
type Modes ¶
type Modes int32 //enums:enum
const ModesN Modes = 2
ModesN is the highest valid value for type Modes, plus one.
func ModesValues ¶
func ModesValues() []Modes
ModesValues returns all possible values for the type Modes.
func (Modes) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Modes) SetString ¶
SetString sets the Modes value from its string representation, and returns an error if the string is invalid.
func (*Modes) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.