Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type UserSession ¶
type UserSession struct { ID uint `json:"id"` Provider string `json:"provider"` Token string `json:"token"` AuthUser goth.User `json:"auth_user"` }
func UnmarshalSession ¶
func UnmarshalSession(tokenString string) (sess UserSession, err error)
Click to show internal directories.
Click to hide internal directories.