Documentation ¶
Overview ¶
adnlib - A fully oauth-authenticated Go Twitter library
Copyright 2011 The Tweetlib Authors. All rights reserved. Use of this source code is governed by a BSD-style license that can be found in the LICENSE file.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrOAuth = errors.New("OAuth failure")
)
Functions ¶
This section is empty.
Types ¶
type ADNTokenList ¶
type ADNTokenList []ADNToken
type Service ¶
type Service struct { Stream *StreamService // contains filtered or unexported fields }
type StreamPostCall ¶
type StreamPostCall struct {
// contains filtered or unexported fields
}
func (*StreamPostCall) Do ¶
func (c *StreamPostCall) Do() (*interface{}, error)
func (*StreamPostCall) InReplyTo ¶
func (c *StreamPostCall) InReplyTo(in_reply_to string) *StreamPostCall
type StreamService ¶
type StreamService struct {
// contains filtered or unexported fields
}
func (*StreamService) Post ¶
func (r *StreamService) Post(text string) *StreamPostCall
func (*StreamService) Token ¶
func (r *StreamService) Token() *StreamTokenCall
type StreamTokenCall ¶
type StreamTokenCall struct {
// contains filtered or unexported fields
}
func (*StreamTokenCall) Do ¶
func (c *StreamTokenCall) Do() (*ADNToken, error)
type Transport ¶
type Transport struct { *Config *Token // Transport is the HTTP transport to use when making requests. // It will default to http.DefaultTransport if nil. // (It should never be an oauth.Transport.) Transport http.RoundTripper }
func (*Transport) RequestAccessToken ¶
Click to show internal directories.
Click to hide internal directories.