verbalizer

package
v0.0.0-...-0c9d645 Latest Latest
Warning

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

Go to latest
Published: Jul 1, 2019 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Twitter

type Twitter struct {
	// contains filtered or unexported fields
}

func NewTwitter

func NewTwitter(twitterTimelineClient TwitterTimelineClient,
	twitterStatusesClient TwitterStatusesClient) *Twitter

func (*Twitter) HomeTimeline

func (t *Twitter) HomeTimeline() (string, error)

func (*Twitter) Show

func (t *Twitter) Show(id int64) (string, error)

type TwitterStatusesClient

type TwitterStatusesClient interface {
	Show(id int64, params *twitter.StatusShowParams) (*twitter.Tweet, *http.Response, error)
}

type TwitterTimelineClient

type TwitterTimelineClient interface {
	HomeTimeline(params *twitter.HomeTimelineParams) ([]twitter.Tweet, *http.Response, error)
}

Directories

Path Synopsis
Code generated by pegomock.
Code generated by pegomock.

Jump to

Keyboard shortcuts

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