Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type TweetFactory ¶
type TweetFactory struct {
// contains filtered or unexported fields
}
func NewTweetFactory ¶
func NewTweetFactory() *TweetFactory
type TweetsHeap ¶
type TweetsHeap struct {
// contains filtered or unexported fields
}
func NewTweetsHeap ¶
func NewTweetsHeap() *TweetsHeap
func (*TweetsHeap) IsEmpty ¶
func (t *TweetsHeap) IsEmpty() bool
func (*TweetsHeap) Pop ¶
func (t *TweetsHeap) Pop() *Tweet
func (*TweetsHeap) Push ¶
func (t *TweetsHeap) Push(x *Tweet)
type TweetsHeapContainer ¶
type TweetsHeapContainer struct {
// contains filtered or unexported fields
}
func (*TweetsHeapContainer) Len ¶
func (t *TweetsHeapContainer) Len() int
func (*TweetsHeapContainer) Less ¶
func (t *TweetsHeapContainer) Less(i, j int) bool
func (*TweetsHeapContainer) Pop ¶
func (t *TweetsHeapContainer) Pop() interface{}
func (*TweetsHeapContainer) Push ¶
func (t *TweetsHeapContainer) Push(x interface{})
func (*TweetsHeapContainer) Swap ¶
func (t *TweetsHeapContainer) Swap(i, j int)
type Twitter ¶
type Twitter struct {
// contains filtered or unexported fields
}
func Constructor ¶
func Constructor() Twitter
func (*Twitter) GetNewsFeed ¶
type User ¶
type User struct {
// contains filtered or unexported fields
}
func (*User) GetNewsFeed ¶
type UserFactory ¶
type UserFactory struct {
// contains filtered or unexported fields
}
func NewUserFactory ¶
func NewUserFactory() *UserFactory
func (*UserFactory) NewUser ¶
func (f *UserFactory) NewUser(id int) *User
Click to show internal directories.
Click to hide internal directories.