ginbindtype

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2020 License: Apache-2.0 Imports: 2 Imported by: 5

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GinBindType

type GinBindType int
const (
	UNKNOWN      GinBindType = 0
	BindHeader   GinBindType = 1
	BindJson     GinBindType = 2
	BindQuery    GinBindType = 3
	BindUri      GinBindType = 4
	BindXml      GinBindType = 5
	BindYaml     GinBindType = 6
	BindProtoBuf GinBindType = 7
	BindPostForm GinBindType = 8
)

func (GinBindType) Caption

func (i GinBindType) Caption() string

Caption retrieves a GinBindType enum string caption

func (GinBindType) CaptionMap

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

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

func (GinBindType) Description

func (i GinBindType) Description() string

Description retrieves a GinBindType enum string description

func (GinBindType) DescriptionMap

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

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

func (GinBindType) IntString

func (i GinBindType) IntString() string

IntString gets the intrinsic enum integer value represented in string format

func (GinBindType) IntValue

func (i GinBindType) IntValue() int

IntValue gets the intrinsic enum integer value

func (GinBindType) Key

func (i GinBindType) Key() string

Key retrieves a GinBindType enum string key

func (GinBindType) KeyMap

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

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

func (GinBindType) NameMap

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

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

func (GinBindType) ParseByKey

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

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

func (GinBindType) ParseByName

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

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

func (GinBindType) String

func (i GinBindType) String() string

func (GinBindType) Valid

func (i GinBindType) Valid() bool

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

func (GinBindType) ValueSlice

func (i GinBindType) ValueSlice() []GinBindType

ValueSlice returns all values of the enum GinBindType in a slice

Jump to

Keyboard shortcuts

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