Registry / auth / bradleyfalzon-ghinstallation

bradleyfalzon-ghinstallation

JSON →
library1.1.1gogounverified

Package ghinstallation provides HTTP transport for GitHub App installation authentication.

go get github.com/bradleyfalzon/ghinstallation
INSTALL
IMPORT
SIG · BRADLEYFALZON-GHIN
B
bradleyfalzon-ghinstallation
authgov1.1.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ghinstallation
github.com/bradleyfalzon/ghinstallation

Creates an authenticated HTTP client for a GitHub App installation using a private key file.

package main import ( "net/http" "github.com/bradleyfalzon/ghinstallation" ) func main() { itr, err := ghinstallation.NewKeyFromFile(http.DefaultTransport, 12345, 67890, "path/to/key.pem") if err != nil { panic(err) } client := &http.Client{Transport: itr} resp, err := client.Get("https://api.github.com/installation/repositories") if err != nil { panic(err) } defer resp.Body.Close() }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
34 hits · last 30 days
node
26
OpenAI (training)
1
Resources
bradleyfalzon-ghinstallation — go get bradleyfalzon-ghinstallation · libregistry