ghapi

package
v0.0.0-...-a09204d Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClientCreator

type ClientCreator struct {
	// contains filtered or unexported fields
}

ClientCreator is a factory for creating authenticated [github.Client]s.

func NewClientCreator

func NewClientCreator(conf *config.Config) (*ClientCreator, error)

NewClientCreator returns a new ClientCreator for creating authenticated [github.Client]s.

func (*ClientCreator) NewClient

func (c *ClientCreator) NewClient(installation int64) (*github.Client, error)

NewClient creates a new authenticated github.Client for the given installation.

Jump to

Keyboard shortcuts

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