ginhttpmethod

package
v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2021 License: Apache-2.0 Imports: 2 Imported by: 4

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GinHttpMethod

type GinHttpMethod int
const (
	UNKNOWN GinHttpMethod = 0
	GET     GinHttpMethod = 1
	POST    GinHttpMethod = 2
	PUT     GinHttpMethod = 3
	DELETE  GinHttpMethod = 4
)

func (GinHttpMethod) Caption

func (i GinHttpMethod) Caption() string

Caption retrieves a GinHttpMethod enum string caption

func (GinHttpMethod) CaptionMap

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

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

func (GinHttpMethod) Description

func (i GinHttpMethod) Description() string

Description retrieves a GinHttpMethod enum string description

func (GinHttpMethod) DescriptionMap

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

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

func (GinHttpMethod) IntString

func (i GinHttpMethod) IntString() string

IntString gets the intrinsic enum integer value represented in string format

func (GinHttpMethod) IntValue

func (i GinHttpMethod) IntValue() int

IntValue gets the intrinsic enum integer value

func (GinHttpMethod) Key

func (i GinHttpMethod) Key() string

Key retrieves a GinHttpMethod enum string key

func (GinHttpMethod) KeyMap

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

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

func (GinHttpMethod) NameMap

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

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

func (GinHttpMethod) ParseByKey

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

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

func (GinHttpMethod) ParseByName

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

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

func (GinHttpMethod) String

func (i GinHttpMethod) String() string

func (GinHttpMethod) Valid

func (i GinHttpMethod) Valid() bool

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

func (GinHttpMethod) ValueSlice

func (i GinHttpMethod) ValueSlice() []GinHttpMethod

ValueSlice returns all values of the enum GinHttpMethod in a slice

Jump to

Keyboard shortcuts

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