 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OAuthFlow ¶
type OAuthFlow struct {
	Hostname         string
	ClientID         string
	ClientSecret     string
	Scopes           []string
	OpenInBrowser    func(string, string) error
	WriteSuccessHTML func(io.Writer)
	VerboseStream    io.Writer
	HTTPClient       *http.Client
	TimeNow          func() time.Time
	TimeSleep        func(time.Duration)
}
    OAuthFlow represents the setup for authenticating with GitHub
func (*OAuthFlow) ObtainAccessToken ¶
ObtainAccessToken guides the user through the browser OAuth flow on GitHub and returns the OAuth access token upon completion.
 Click to show internal directories. 
   Click to hide internal directories.