Versions in this module Expand all Collapse all v0 v0.1.3 Sep 17, 2019 Changes in this version + func GetReadWriter(i interface{}) (io.ReadWriter, error) + type AppsTransport struct + BaseURL string + Client Client + func NewAppsTransport(tr http.RoundTripper, appID int, privateKey []byte) (*AppsTransport, error) + func NewAppsTransportKeyFromFile(tr http.RoundTripper, appID int, 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 Transport struct + BaseURL string + Client Client + InstallationTokenOptions *github.InstallationTokenOptions + func New(tr http.RoundTripper, appID, installationID int, privateKey []byte) (*Transport, error) + func NewKeyFromFile(tr http.RoundTripper, appID, installationID int, 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)