twitter

package
v0.0.0-...-3d1b5a8 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2021 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 ApiClient

type ApiClient *anaconda.TwitterApi

type Config

type Config struct {
	ConsumerKey       string
	ConsumerSecret    string
	AccessTokenKey    string
	AccessTokenSecret string
}

func NewConfig

func NewConfig(consumerKey string, consumerSecret string, accessTokenKey string, accessTokenSecret string) *Config

type IApiClient

type IApiClient interface {
	PostTweet(string, url.Values) (anaconda.Tweet, error)
}

func NewApiClient

func NewApiClient(c *Config) IApiClient

Jump to

Keyboard shortcuts

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