redissetcondition

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

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

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

Jump to

Keyboard shortcuts

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