Versions in this module Expand all Collapse all v2 v2.0.3 Jul 27, 2021 Changes in this version + func GetReadWriter(i interface{}) (io.ReadWriter, error) + type AppsTransport struct + BaseURL string + Client Client + func NewAppsTransport(tr http.RoundTripper, appID int64, privateKey []byte) (*AppsTransport, error) + func NewAppsTransportFromPrivateKey(tr http.RoundTripper, appID int64, key *rsa.PrivateKey) *AppsTransport + func NewAppsTransportKeyFromFile(tr http.RoundTripper, appID int64, privateKeyFile string) (*AppsTransport, error) + func (t *AppsTransport) RoundTrip(req *http.Request) (*http.Response, error) + type Client interface + Do func(*http.Request) (*http.Response, error) + type HTTPError struct + InstallationID int64 + Message string + Response *http.Response + RootCause error + func (e *HTTPError) Error() string + type Transport struct + BaseURL string + Client Client + InstallationTokenOptions *github.InstallationTokenOptions + func New(tr http.RoundTripper, appID, installationID int64, privateKey []byte) (*Transport, error) + func NewFromAppsTransport(atr *AppsTransport, installationID int64) *Transport + func NewKeyFromFile(tr http.RoundTripper, appID, installationID int64, privateKeyFile string) (*Transport, error) + func (t *Transport) Permissions() (github.InstallationPermissions, error) + func (t *Transport) Repositories() ([]github.Repository, error) + func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error) + func (t *Transport) Token(ctx context.Context) (string, error) Other modules containing this package github.com/Shopify/ghinstallation