Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetGmailService ¶
GetGmailService will return a gmail service.
Types ¶
type Claims ¶
type Claims struct { RandomID string jwt.StandardClaims }
Claims struct to be encoded to a JWT.
func DecodeJwtToken ¶
DecodeJwtToken Parse the JWT string and store the result in claims.
type Oauth ¶
type Oauth struct {
// contains filtered or unexported fields
}
func (*Oauth) GoogleCallback ¶
func (oauth *Oauth) GoogleCallback(w http.ResponseWriter, r *http.Request)
func (*Oauth) GoogleLogin ¶
func (oauth *Oauth) GoogleLogin(w http.ResponseWriter, r *http.Request)
Click to show internal directories.
Click to hide internal directories.