Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LocalOauth ¶
LocalOauth holds info about LocalOauth object.
func (*LocalOauth) GetService ¶
func (o *LocalOauth) GetService(code string) (*youtube.Service, error)
GetUserDataFromGoogle uses code to get token and get user info from Google.
func (*LocalOauth) Login ¶
func (o *LocalOauth) Login(w http.ResponseWriter, r *http.Request)
Login logs in a user.
Click to show internal directories.
Click to hide internal directories.