Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoTwitter ¶
type GoTwitter struct {
// contains filtered or unexported fields
}
GoTwitter uses https://github.com/dghubble/go-twitter.
func NewGoTwitter ¶
NewGoTwitter initializes a go-twitter client.
func (*GoTwitter) GetFollowerIDs ¶
func (*GoTwitter) GetUserByID ¶
func (g *GoTwitter) GetUserByID(id int64) (TwitterProfile, error)
func (*GoTwitter) Self ¶
func (g *GoTwitter) Self() (TwitterProfile, error)
type Twitter ¶
type Twitter interface { Self() (TwitterProfile, error) GetFollowerIDs() ([]int64, error) SendDM(toID, message string) error GetUserByID(id int64) (TwitterProfile, error) }
type TwitterProfile ¶
Click to show internal directories.
Click to hide internal directories.