dbox

package
v0.0.0-...-89f3358 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 15, 2021 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAuthToken

func GetAuthToken(redirectURI, code, appKey, appSecret string) (token, accountID string)

GetAuthToken gets a token and the user's account ID.

func GetAuthURL

func GetAuthURL(redirectURI, appKey string) string

GetAuthURL gets the authentication URL.

func UploadFile

func UploadFile(token string, file io.Reader, path string) (id string)

UploadFile uploads a file to the user'x box.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL