Documentation ¶
Index ¶
- func HookFunc() mapstructure.DecodeHookFuncType
- func StatusStrings() []string
- type Status
- func (i Status) IsAStatus() bool
- func (i Status) MarshalJSON() ([]byte, error)
- func (i Status) MarshalYAML() (interface{}, error)
- func (i *Status) Scan(value interface{}) error
- func (i Status) String() string
- func (i *Status) UnmarshalJSON(data []byte) error
- func (i *Status) UnmarshalYAML(unmarshal func(interface{}) error) error
- func (i Status) Value() (driver.Value, error)
- func (Status) Values() []string
- type Worker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HookFunc ¶
func HookFunc() mapstructure.DecodeHookFuncType
func StatusStrings ¶ added in v0.4.21
func StatusStrings() []string
StatusStrings returns a slice of all String values of the enum
Types ¶
type Status ¶ added in v0.4.21
type Status uint64
func StatusString ¶ added in v0.4.21
StatusString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func StatusValues ¶ added in v0.4.21
func StatusValues() []Status
StatusValues returns all values of the enum
func (Status) IsAStatus ¶ added in v0.4.21
IsAStatus returns "true" if the value is listed in the enum definition. "false" otherwise
func (Status) MarshalJSON ¶ added in v0.4.21
MarshalJSON implements the json.Marshaler interface for Status
func (Status) MarshalYAML ¶ added in v0.4.21
MarshalYAML implements a YAML Marshaler for Status
func (*Status) UnmarshalJSON ¶ added in v0.4.21
UnmarshalJSON implements the json.Unmarshaler interface for Status
func (*Status) UnmarshalYAML ¶ added in v0.4.21
UnmarshalYAML implements a YAML Unmarshaler for Status
Click to show internal directories.
Click to hide internal directories.