twitter

package
v0.4.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*a.TwitterApi
}

Client represents twitter client

func NewClient

func NewClient(twitterAccessToken, twitterAccessTokenSecret, twitterConsumerKey, twitterConsumerKeySecret string) (*Client, error)

NewClient creates a new twitter client from credentials

func (Client) Tweet

func (api Client) Tweet(message string) (string, error)

Tweet posts message to the twitter time line

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL