twitterapi

package module
v0.0.0-...-4cd6e35 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 11, 2014 License: MIT Imports: 7 Imported by: 0

README

twitterapi

Go Twitter Stream API

Documentation

Index

Constants

View Source
const (
	StatusStreamUrl = "https://stream.twitter.com/1.1/statuses/filter.json"
)

Variables

View Source
var (
	Setting = AccessCredentialSetting{
		Api:    &oauthClient.Credentials,
		Access: &accessCredential,
	}
)

Functions

func Listen

func Listen(terms string, outChannel chan *Tweet) (err error)

func PostValues

func PostValues(terms string) (form url.Values)

func ReadBlobLength

func ReadBlobLength(r *bufio.Reader) (length uint64, err error)

Types

type AccessCredentialSetting

type AccessCredentialSetting struct {
	Api, Access *oauth.Credentials
}

type Tweet

type Tweet struct {
	Text string
	User User
}

type User

type User struct {
	Screen_name string
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL