Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Anaconda ¶
type Anaconda interface { SetConsumerKey(key string) SetConsumerSecret(keySecret string) NewTwitterAPI(token string, tokenSecret string) TwitterAPI }
Anaconda is an interface wrapper around the anaconda twitter client
type MockAnaconda ¶
MockAnaconda is a mock MockAnaconda Twitter client
func (*MockAnaconda) NewTwitterAPI ¶
func (a *MockAnaconda) NewTwitterAPI(token string, tokenSecret string) TwitterAPI
NewTwitterAPI is a mockable NewTwitterAPI
func (*MockAnaconda) SetConsumerKey ¶
func (a *MockAnaconda) SetConsumerKey(key string)
SetConsumerKey is a mockable SetConsumerKey
func (*MockAnaconda) SetConsumerSecret ¶
func (a *MockAnaconda) SetConsumerSecret(keySecret string)
SetConsumerSecret is a mockable SetConsumerSecret
type MockTwitterAPI ¶
MockTwitterAPI is a mock MockTwitterAPI
func (*MockTwitterAPI) PublicStreamFilter ¶
func (a *MockTwitterAPI) PublicStreamFilter(values url.Values) TwitterStream
PublicStreamFilter is a mockable PublicStreamFilter
type MockTwitterStream ¶
MockTwitterStream is a mock MockTwitterStream
type TwitterAPI ¶
type TwitterAPI interface {
PublicStreamFilter(values url.Values) TwitterStream
}
TwitterAPI is an interface wrapper around the anaconda twitter API
type TwitterStream ¶
type TwitterStream interface { C() chan interface{} Stop() }
TwitterStream is an interface wrapper around the anaconda.Stream struct
Click to show internal directories.
Click to hide internal directories.