View definition

type UnauthenticatedRateLimitedTransport

Defined in github.com/google/go-github/github/github.go

Description

UnauthenticatedRateLimitedTransport allows you to make unauthenticated calls that need to use a higher rate limit associated with your OAuth application.

t := &github.UnauthenticatedRateLimitedTransport{
	ClientID:     "your app's client ID",
	ClientSecret: "your app's client secret",
}
client := github.NewClient(t.Client())

This will append the querystring params client_id=xxx&client_secret=yyy to all requests.

See http://developer.github.com/v3/#unauthenticated-rate-limited-requests for more information.

UnauthenticatedRateLimitedTransport is referenced in 9 repositories

github.com/google/go-github github.com/gorlim/Gorlim github.com/heridev/gophergala_repositories

...