gingzipcompression

package
v1.1.6 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2021 License: Apache-2.0 Imports: 2 Imported by: 1

Documentation

Index

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

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

func (GinGZipCompression) NameMap

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

func (GinGZipCompression) ParseByKey

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

Jump to

Keyboard shortcuts

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