Documentation ¶
Index ¶
- type RedisSetCondition
- func (i RedisSetCondition) Caption() string
- func (i RedisSetCondition) CaptionMap() map[RedisSetCondition]string
- func (i RedisSetCondition) Description() string
- func (i RedisSetCondition) DescriptionMap() map[RedisSetCondition]string
- func (i RedisSetCondition) IntString() string
- func (i RedisSetCondition) IntValue() int
- func (i RedisSetCondition) Key() string
- func (i RedisSetCondition) KeyMap() map[RedisSetCondition]string
- func (i RedisSetCondition) NameMap() map[string]RedisSetCondition
- func (i RedisSetCondition) ParseByKey(s string) (RedisSetCondition, error)
- func (i RedisSetCondition) ParseByName(s string) (RedisSetCondition, error)
- func (i RedisSetCondition) String() string
- func (i RedisSetCondition) Valid() bool
- func (i RedisSetCondition) ValueSlice() []RedisSetCondition
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type RedisSetCondition ¶
type RedisSetCondition int
const ( UNKNOWN RedisSetCondition = 0 Normal RedisSetCondition = 1 SetIfExists RedisSetCondition = 2 SetIfNotExists RedisSetCondition = 3 )
func (RedisSetCondition) Caption ¶
func (i RedisSetCondition) Caption() string
Caption retrieves a RedisSetCondition enum string caption
func (RedisSetCondition) CaptionMap ¶
func (i RedisSetCondition) CaptionMap() map[RedisSetCondition]string
CaptionMap returns all captions of the enum RedisSetCondition in a K:RedisSetCondition,V:caption map
func (RedisSetCondition) Description ¶
func (i RedisSetCondition) Description() string
Description retrieves a RedisSetCondition enum string description
func (RedisSetCondition) DescriptionMap ¶
func (i RedisSetCondition) DescriptionMap() map[RedisSetCondition]string
DescriptionMap returns all descriptions of the enum RedisSetCondition in a K:RedisSetCondition,V:description map
func (RedisSetCondition) IntString ¶
func (i RedisSetCondition) IntString() string
IntString gets the intrinsic enum integer value represented in string format
func (RedisSetCondition) IntValue ¶
func (i RedisSetCondition) IntValue() int
IntValue gets the intrinsic enum integer value
func (RedisSetCondition) Key ¶
func (i RedisSetCondition) Key() string
Key retrieves a RedisSetCondition enum string key
func (RedisSetCondition) KeyMap ¶
func (i RedisSetCondition) KeyMap() map[RedisSetCondition]string
KeyMap returns all keys of the enum RedisSetCondition in a K:RedisSetCondition,V:key map
func (RedisSetCondition) NameMap ¶
func (i RedisSetCondition) NameMap() map[string]RedisSetCondition
NameMap returns all names of the enum RedisSetCondition in a K:name,V:RedisSetCondition map
func (RedisSetCondition) ParseByKey ¶
func (i RedisSetCondition) ParseByKey(s string) (RedisSetCondition, error)
ParseByKey retrieves a RedisSetCondition enum value from the enum string key, throws an error if the param is not part of the enum
func (RedisSetCondition) ParseByName ¶
func (i RedisSetCondition) ParseByName(s string) (RedisSetCondition, error)
ParseByName retrieves a RedisSetCondition enum value from the enum string name, throws an error if the param is not part of the enum
func (RedisSetCondition) String ¶
func (i RedisSetCondition) String() string
func (RedisSetCondition) Valid ¶
func (i RedisSetCondition) Valid() bool
Valid returns 'true' if the value is listed in the RedisSetCondition enum map definition, 'false' otherwise
func (RedisSetCondition) ValueSlice ¶
func (i RedisSetCondition) ValueSlice() []RedisSetCondition
ValueSlice returns all values of the enum RedisSetCondition in a slice