Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GenerateAddress ¶
GenerateAddress generates a new @duck.com email address
func GetLoginLink ¶
GetLoginLink sends the OTP link/passphrase to the user's email
Types ¶
type DashboardResponse ¶
type DashboardResponse struct { User struct { AccessToken string `json:"access_token"` } `json:"user"` }
func GetDashboard ¶
func GetDashboard(otpToken string) (response DashboardResponse, err error)
GetDashboard uses the one-time token from `getLogin` to retrieve a long-lasting access token
type LoginResponse ¶
Click to show internal directories.
Click to hide internal directories.