Versions in this module Expand all Collapse all v0 v0.2.0 Aug 31, 2015 Changes in this version + func NewClient(config *Config, token *Token) *http.Client + func ParseAuthorizationCallback(req *http.Request) (requestToken, verifier string, err error) + func PercentEncode(input string) string + type Config struct + CallbackURL string + ConsumerKey string + ConsumerSecret string + Endpoint Endpoint + func NewConfig(consumerKey, consumerSecret string) *Config + func (c *Config) AccessToken(requestToken, requestSecret, verifier string) (accessToken, accessSecret string, err error) + func (c *Config) AuthorizationURL(requestToken string) (*url.URL, error) + func (c *Config) Client(t *Token) *http.Client + func (c *Config) RequestToken() (requestToken, requestSecret string, err error) + type Endpoint struct + AccessTokenURL string + AuthorizeURL string + RequestTokenURL string + type Signer struct + func (s *Signer) SetAccessTokenAuthHeader(req *http.Request, requestToken, requestSecret, verifier string) error + func (s *Signer) SetRequestAuthHeader(req *http.Request, accessToken *Token) error + func (s *Signer) SetRequestTokenAuthHeader(req *http.Request) error + type Token struct + Token string + TokenSecret string + func NewToken(token, tokenSecret string) *Token + type TokenSource interface + Token func() (*Token, error) + func StaticTokenSource(token *Token) TokenSource + type Transport struct + func (t *Transport) RoundTrip(req *http.Request) (*http.Response, error) v0.1.0 Apr 27, 2015