Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthService ¶
type AuthService struct {
// contains filtered or unexported fields
}
AuthService manages GitHub user authentication
func NewAuthService ¶
func NewAuthService(host string) (a *AuthService, err error)
NewAuthService constructs a new AuthService
func (*AuthService) InitClient ¶
func (a *AuthService) InitClient() (client *go_github.Client, err error)
InitClient initializes an AuthService instance by loading ~/.config/mcc or basic authentication
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a GitHub OAuth API wrapper
Click to show internal directories.
Click to hide internal directories.