Documentation ¶
Index ¶
Constants ¶
View Source
const ( AlgHS256 = "HS256" AlgHS384 = "HS384" AlgHS512 = "HS512" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Header ¶
type Header struct { Kid string `json:"kid"` Alg string `json:"alg"` IssuedAt int64 `json:"iat"` ExpiresAt int64 `json:"eat"` }
func (Header) MarshalEasyJSON ¶
MarshalEasyJSON supports easyjson.Marshaler interface
func (Header) MarshalJSON ¶
MarshalJSON supports json.Marshaler interface
func (*Header) UnmarshalEasyJSON ¶
UnmarshalEasyJSON supports easyjson.Unmarshaler interface
func (*Header) UnmarshalJSON ¶
UnmarshalJSON supports json.Unmarshaler interface
Click to show internal directories.
Click to hide internal directories.