Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetVisitorTokenDataClaim ¶
GetVisitorTokenDataClaim returns a jwt.MapClaims type for the "data" section of a token.
Types ¶
type Visitor ¶
Visitor contains visitor details
func GetVisitor ¶
GetVisitor returns visitor details from cookie
func GetVisitorFromCookie ¶
GetVisitorFromCookie returns a Visitor struct after parsing the session cookie.
Click to show internal directories.
Click to hide internal directories.