package
0.8.0
Repository: https://github.com/willabides/octo-go.git
Documentation: pkg.go.dev

# Functions

CreateAuthorization performs requests for "oauth-authorizations/create-authorization" Create a new authorization.
DeleteAuthorization performs requests for "oauth-authorizations/delete-authorization" Delete an authorization.
DeleteGrant performs requests for "oauth-authorizations/delete-grant" Delete a grant.
GetAuthorization performs requests for "oauth-authorizations/get-authorization" Get a single authorization.
GetGrant performs requests for "oauth-authorizations/get-grant" Get a single grant.
GetOrCreateAuthorizationForApp performs requests for "oauth-authorizations/get-or-create-authorization-for-app" Get-or-create an authorization for a specific app.
GetOrCreateAuthorizationForAppAndFingerprint performs requests for "oauth-authorizations/get-or-create-authorization-for-app-and-fingerprint" Get-or-create an authorization for a specific app and fingerprint.
ListAuthorizations performs requests for "oauth-authorizations/list-authorizations" List your authorizations.
ListGrants performs requests for "oauth-authorizations/list-grants" List your grants.
NewClient returns a new Client.
UpdateAuthorization performs requests for "oauth-authorizations/update-authorization" Update an existing authorization.

# Structs

CreateAuthorizationReq is request data for Client.CreateAuthorization https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
CreateAuthorizationReqBody is a request body for oauth-authorizations/create-authorization https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization */.
CreateAuthorizationResponse is a response for CreateAuthorization https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization */.
DeleteAuthorizationReq is request data for Client.DeleteAuthorization https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
DeleteAuthorizationResponse is a response for DeleteAuthorization https://developer.github.com/v3/oauth_authorizations/#delete-an-authorization */.
DeleteGrantReq is request data for Client.DeleteGrant https://developer.github.com/v3/oauth_authorizations/#delete-a-grant Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
DeleteGrantResponse is a response for DeleteGrant https://developer.github.com/v3/oauth_authorizations/#delete-a-grant */.
GetAuthorizationReq is request data for Client.GetAuthorization https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
GetAuthorizationResponse is a response for GetAuthorization https://developer.github.com/v3/oauth_authorizations/#get-a-single-authorization */.
GetGrantReq is request data for Client.GetGrant https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
GetGrantResponse is a response for GetGrant https://developer.github.com/v3/oauth_authorizations/#get-a-single-grant */.
GetOrCreateAuthorizationForAppAndFingerprintReq is request data for Client.GetOrCreateAuthorizationForAppAndFingerprint https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
GetOrCreateAuthorizationForAppAndFingerprintReqBody is a request body for oauth-authorizations/get-or-create-authorization-for-app-and-fingerprint https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint */.
GetOrCreateAuthorizationForAppAndFingerprintResponse is a response for GetOrCreateAuthorizationForAppAndFingerprint https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app-and-fingerprint */.
GetOrCreateAuthorizationForAppReq is request data for Client.GetOrCreateAuthorizationForApp https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
GetOrCreateAuthorizationForAppReqBody is a request body for oauth-authorizations/get-or-create-authorization-for-app https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app */.
GetOrCreateAuthorizationForAppResponse is a response for GetOrCreateAuthorizationForApp https://developer.github.com/v3/oauth_authorizations/#get-or-create-an-authorization-for-a-specific-app */.
ListAuthorizationsReq is request data for Client.ListAuthorizations https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
ListAuthorizationsResponse is a response for ListAuthorizations https://developer.github.com/v3/oauth_authorizations/#list-your-authorizations */.
ListGrantsReq is request data for Client.ListGrants https://developer.github.com/v3/oauth_authorizations/#list-your-grants Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
ListGrantsResponse is a response for ListGrants https://developer.github.com/v3/oauth_authorizations/#list-your-grants */.
UpdateAuthorizationReq is request data for Client.UpdateAuthorization https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization Non-nil errors will have the type *requests.RequestError, octo.ResponseError or url.Error.
UpdateAuthorizationReqBody is a request body for oauth-authorizations/update-authorization https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization */.
UpdateAuthorizationResponse is a response for UpdateAuthorization https://developer.github.com/v3/oauth_authorizations/#update-an-existing-authorization */.

# Type aliases

Client is a set of options to apply to requests.