github

package
v0.0.0-...-68c6791 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 23, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	// contains filtered or unexported fields
}

func NewGithubClient

func NewGithubClient(config *config.Config) *Client

func (*Client) ExchangeCode

func (c *Client) ExchangeCode(code string) (*oauth2.Token, error)

func (*Client) GetAuthCodeURL

func (c *Client) GetAuthCodeURL(state string) string

func (*Client) GetUserInfo

func (c *Client) GetUserInfo(token *oauth2.Token) (*entity.User, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL