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