githubapp

package
v0.88.0 Latest Latest
Warning

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

Go to latest
Published: May 12, 2026 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ResolveInstallationToken

func ResolveInstallationToken(repoURL string, cfg Config) (string, error)

ResolveInstallationToken mints (or reuses a cached) installation access token for a repository URL.

Types

type Config

type Config struct {
	ID             string
	PrivateKey     string
	InstallationID int64
}

Config contains credentials used to mint short-lived GitHub App installation tokens.

Jump to

Keyboard shortcuts

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