ghclient

package
v0.0.0-...-9d58fce Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: GPL-3.0 Imports: 4 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 {
	*github.Client
	// contains filtered or unexported fields
}

func NewClient

func NewClient(client *github.Client) *Client

func (*Client) AppInstallClient

func (h *Client) AppInstallClient(appInstall int64) (*github.Client, error)

func (*Client) SetDefaultHTTPClient

func (h *Client) SetDefaultHTTPClient(c *http.Client)

SetDefaultHTTPClient sets the http.Client to be used by the client. It usually to mock the http.Client for testing.

Jump to

Keyboard shortcuts

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