redisradiusunit

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2021 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 RedisRadiusUnit

type RedisRadiusUnit int
const (
	UNKNOWN    RedisRadiusUnit = 0
	Meters     RedisRadiusUnit = 1
	Kilometers RedisRadiusUnit = 2
	Miles      RedisRadiusUnit = 3
	Feet       RedisRadiusUnit = 4
)

func (RedisRadiusUnit) Caption

func (i RedisRadiusUnit) Caption() string

Caption retrieves a RedisRadiusUnit enum string caption

func (RedisRadiusUnit) CaptionMap

func (i RedisRadiusUnit) CaptionMap() map[RedisRadiusUnit]string

CaptionMap returns all captions of the enum RedisRadiusUnit in a K:RedisRadiusUnit,V:caption map

func (RedisRadiusUnit) Description

func (i RedisRadiusUnit) Description() string

Description retrieves a RedisRadiusUnit enum string description

func (RedisRadiusUnit) DescriptionMap

func (i RedisRadiusUnit) DescriptionMap() map[RedisRadiusUnit]string

DescriptionMap returns all descriptions of the enum RedisRadiusUnit in a K:RedisRadiusUnit,V:description map

func (RedisRadiusUnit) IntString

func (i RedisRadiusUnit) IntString() string

IntString gets the intrinsic enum integer value represented in string format

func (RedisRadiusUnit) IntValue

func (i RedisRadiusUnit) IntValue() int

IntValue gets the intrinsic enum integer value

func (RedisRadiusUnit) Key

func (i RedisRadiusUnit) Key() string

Key retrieves a RedisRadiusUnit enum string key

func (RedisRadiusUnit) KeyMap

func (i RedisRadiusUnit) KeyMap() map[RedisRadiusUnit]string

KeyMap returns all keys of the enum RedisRadiusUnit in a K:RedisRadiusUnit,V:key map

func (RedisRadiusUnit) NameMap

func (i RedisRadiusUnit) NameMap() map[string]RedisRadiusUnit

NameMap returns all names of the enum RedisRadiusUnit in a K:name,V:RedisRadiusUnit map

func (RedisRadiusUnit) ParseByKey

func (i RedisRadiusUnit) ParseByKey(s string) (RedisRadiusUnit, error)

ParseByKey retrieves a RedisRadiusUnit enum value from the enum string key, throws an error if the param is not part of the enum

func (RedisRadiusUnit) ParseByName

func (i RedisRadiusUnit) ParseByName(s string) (RedisRadiusUnit, error)

ParseByName retrieves a RedisRadiusUnit enum value from the enum string name, throws an error if the param is not part of the enum

func (RedisRadiusUnit) String

func (i RedisRadiusUnit) String() string

func (RedisRadiusUnit) Valid

func (i RedisRadiusUnit) Valid() bool

Valid returns 'true' if the value is listed in the RedisRadiusUnit enum map definition, 'false' otherwise

func (RedisRadiusUnit) ValueSlice

func (i RedisRadiusUnit) ValueSlice() []RedisRadiusUnit

ValueSlice returns all values of the enum RedisRadiusUnit in a slice

Jump to

Keyboard shortcuts

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