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
Click to show internal directories.
Click to hide internal directories.