Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CacheStatusStrings ¶
func CacheStatusStrings() []string
CacheStatusStrings returns a slice of all String values of the enum
Types ¶
type CacheStatus ¶
type CacheStatus uint8
const ( CacheMiss CacheStatus = iota CacheHit CacheBypass )
func CacheStatusString ¶
func CacheStatusString(s string) (CacheStatus, error)
CacheStatusString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func CacheStatusValues ¶
func CacheStatusValues() []CacheStatus
CacheStatusValues returns all values of the enum
func (CacheStatus) IsACacheStatus ¶
func (i CacheStatus) IsACacheStatus() bool
IsACacheStatus returns "true" if the value is listed in the enum definition. "false" otherwise
func (CacheStatus) String ¶
func (i CacheStatus) String() string
Click to show internal directories.
Click to hide internal directories.