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.
Click to show internal directories.
Click to hide internal directories.