Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Dependencies ¶
type Dependencies struct {
Input io.Reader
Output io.Writer
ErrorOutput io.Writer
Stdin *os.File
Stdout *os.File
Environment map[string]string
HTTPClient *http.Client
Now func() time.Time
Sleep func(context.Context, time.Duration) error
Version string
IsInteractive func() bool
NewIdempotencyKey func() (string, error)
// OpenURL opens a safe verification or approval URL in the user's browser.
// Device login opens directly; confirmation flows first ask the user.
OpenURL func(string) error
}
Click to show internal directories.
Click to hide internal directories.