Documentation ¶
Index ¶
- func DoN1qlQuery(bucket *gocb.Bucket, query string, params []interface{}) (*uint64, error)
- func GetMaxTweetID(bucket *gocb.Bucket, handle string) (*uint64, error)
- func GetMinTweetID(bucket *gocb.Bucket, handle string) (*uint64, error)
- func GetTweets(bucket *gocb.Bucket, handle string) ([]string, error)
- func LoadAndStoreTweets(bucket *gocb.Bucket, api *anaconda.TwitterApi, handle string) (*uint32, error)
- func OpenBucket() (*gocb.Bucket, error)
- func OpenTwitterAPI() *anaconda.TwitterApi
- func QueryTweets(api *anaconda.TwitterApi, username string, count int64, maxID *uint64, ...) ([]anaconda.Tweet, error)
- type TweetDoc
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DoN1qlQuery ¶
func GetMaxTweetID ¶
func GetMinTweetID ¶
func LoadAndStoreTweets ¶
func LoadAndStoreTweets(bucket *gocb.Bucket, api *anaconda.TwitterApi, handle string) (*uint32, error)
func OpenBucket ¶
func OpenBucket() (*gocb.Bucket, error)
func OpenTwitterAPI ¶
func OpenTwitterAPI() *anaconda.TwitterApi
Types ¶
Click to show internal directories.
Click to hide internal directories.