Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Tweet ¶
func Tweet(message string, auth *TwitterAuth) (err error)
Types ¶
type Schedule ¶
type Schedule struct { Event eventdata.EventData Time time.Time Message string Executed bool Hash []byte }
Schedule
type TwitterAuth ¶
type TwitterAuth struct { ConsumerKey string `yaml:"consumerKey" json:"consumerKey"` ConsumerSecret string `yaml:"consumerSecret" json:"consumerSecret"` AccessToken string `yaml:"accessToken" json:"accessToken"` AccessSecret string `yaml:"accessSecret" json:"accessSecret"` }
func GetToken ¶
func GetToken(filepath string) *TwitterAuth
Click to show internal directories.
Click to hide internal directories.