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