Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OpenBrowser ¶
OpenBrowser opens a URL in the user's default browser.
func StartCallbackServer ¶
func StartCallbackServer(ctx context.Context) (port int, result <-chan CallbackResult, err error)
StartCallbackServer starts a local HTTP server that waits for the dashboard to redirect back with an API key.
Types ¶
type CallbackResult ¶
CallbackResult holds the API key received from the browser auth flow.
Click to show internal directories.
Click to hide internal directories.