Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NumericDate ¶
NumericDate represents the date format used in the 'nbf' claim
func (*NumericDate) Accept ¶
func (n *NumericDate) Accept(v interface{}) error
func (*NumericDate) Get ¶
func (n *NumericDate) Get() time.Time
func (*NumericDate) MarshalJSON ¶
func (n *NumericDate) MarshalJSON() ([]byte, error)
MarshalJSON translates from internal representation to JSON NumericDate See https://tools.ietf.org/html/rfc7519#page-6
func (*NumericDate) UnmarshalJSON ¶ added in v1.0.0
func (n *NumericDate) UnmarshalJSON(data []byte) error
type StringList ¶ added in v1.0.0
type StringList []string
func (*StringList) Accept ¶ added in v1.0.0
func (l *StringList) Accept(v interface{}) error
func (StringList) Get ¶ added in v1.0.0
func (l StringList) Get() []string
func (*StringList) UnmarshalJSON ¶ added in v1.0.0
func (l *StringList) UnmarshalJSON(data []byte) error
Click to show internal directories.
Click to hide internal directories.