github

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: Apache-2.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
}

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 cached GitHub client for the given installation ID. The client is created on first use and reused for subsequent calls with the same installation ID.

Jump to

Keyboard shortcuts

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