github

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: May 7, 2025 License: Apache-2.0 Imports: 3 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
}

Client is a wrapper around GitHub client that supports GitHub App authentication for multiple installations.

func NewClient

func NewClient(appID int64, appPrivateKey string) (*Client, error)

NewClient creates a new Client.

func (*Client) Installation

func (c *Client) Installation(installationID int64) *github.Client

Installation returns a new GitHub client for the given installation ID.

Jump to

Keyboard shortcuts

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