redisbitop

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2023 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 RedisBitop

type RedisBitop int
const (
	UNKNOWN RedisBitop = 0
	And     RedisBitop = 1
	Or      RedisBitop = 2
	XOr     RedisBitop = 3
	NOT     RedisBitop = 4
)

func (RedisBitop) Caption

func (i RedisBitop) Caption() string

Caption retrieves a RedisBitop enum string caption

func (RedisBitop) CaptionMap

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

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

func (RedisBitop) Description

func (i RedisBitop) Description() string

Description retrieves a RedisBitop enum string description

func (RedisBitop) DescriptionMap

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

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

func (RedisBitop) IntString

func (i RedisBitop) IntString() string

IntString gets the intrinsic enum integer value represented in string format

func (RedisBitop) IntValue

func (i RedisBitop) IntValue() int

IntValue gets the intrinsic enum integer value

func (RedisBitop) Key

func (i RedisBitop) Key() string

Key retrieves a RedisBitop enum string key

func (RedisBitop) KeyMap

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

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

func (RedisBitop) NameMap

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

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

func (RedisBitop) ParseByKey

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

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

func (RedisBitop) ParseByName

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

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

func (RedisBitop) String

func (i RedisBitop) String() string

func (RedisBitop) Valid

func (i RedisBitop) Valid() bool

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

func (RedisBitop) ValueSlice

func (i RedisBitop) ValueSlice() []RedisBitop

ValueSlice returns all values of the enum RedisBitop in a slice

Jump to

Keyboard shortcuts

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