client

package
v0.0.0-...-2d3cef0 Latest Latest
Warning

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

Go to latest
Published: Jan 19, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetClient

func GetClient() (*github.Client, error)

GetClient returns an authorized Github Client

func GetInstallationClient

func GetInstallationClient(installationID int64) (*github.Client, error)

GetInstallationClient returns an authorized Github Client for an installation

Types

type JWTAuth

type JWTAuth struct {
	Token     string    `json:"token"`
	ExpiresAt time.Time `json:"expires_at"`
}

JWTAuth token issued by Github in response to signed JWT Token

Jump to

Keyboard shortcuts

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