Documentation ¶
Index ¶
- func AllFiles(query string, pageNum chan int) ([]*drive.File, error)
- func AllRevisions(fileId string) ([]*drive.Revision, error)
- func DecodeToken(src io.Reader) (*oauth2.Token, error)
- func EncodeToken(tok *oauth2.Token, dst io.Writer)
- func GetAuth(getUrl string) (resp *http.Response, err error)
- func GetClientScope() []string
- func GetIdentity(Token *oauth.Token) (*oauthGoogle.Tokeninfo, error)
- func InsertFile(title string, description string, parentId string, mimeType string, ...) (*drive.File, error)
- func Login(wf *web.WebFace, clientScopes []string) (*oauth2.Token, error)
- type ClientSecret
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AllRevisions ¶
AllRevisions fetches all revisions for a given file
func GetClientScope ¶
func GetClientScope() []string
func GetIdentity ¶
func GetIdentity(Token *oauth.Token) (*oauthGoogle.Tokeninfo, error)
func InsertFile ¶
Types ¶
type ClientSecret ¶
Click to show internal directories.
Click to hide internal directories.