Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrAllTweetsAreFresh = errors.New("all tweets are fresh")
View Source
var ErrRatingNotFound = errors.New("rating for this user not found")
Functions ¶
This section is empty.
Types ¶
type ChannelMessage ¶
type RequestLimitData ¶
type RequestLimits ¶
type RequestLimits struct { WindowSeconds uint64 Requests *Requests `json:"requests_v2,omitempty"` Threshold uint64 }
func (*RequestLimits) AddCounter ¶ added in v0.0.42
func (r *RequestLimits) AddCounter(counterTime time.Time)
func (*RequestLimits) Marshal ¶ added in v0.0.42
func (r *RequestLimits) Marshal() ([]byte, error)
func (*RequestLimits) Unmarshal ¶ added in v0.0.42
func (r *RequestLimits) Unmarshal(data []byte) error
type TweetSnapshot ¶
func (TweetSnapshot) String ¶
func (t TweetSnapshot) String() string
type TwitterAccount ¶ added in v0.0.4
type UsernameRating ¶ added in v0.0.4
Click to show internal directories.
Click to hide internal directories.