Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsExpires ¶
IsExpires returns a boolean indicating whether the error is known to report that a gwt token is expired.
func ParseToken ¶
ParseToken parses a token
Types ¶
type GWT ¶
type GWT struct {
Secret string
}
GWT is an api token rsa crypto with gob encoding
func (*GWT) ParseToken ¶
ParseToken parses a token
Click to show internal directories.
Click to hide internal directories.