twitter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 22, 2018 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Callback

func Callback(success successHandler, fail failHandler) http.Handler

Callback handler

func Init

func Init()

Init load config

func Login

func Login(url string, fail failHandler) http.Handler

Login handler

func PostStatus

func PostStatus(status string) (tweet *twitter.Tweet, err error)

PostStatus feed

func SetAccess

func SetAccess(token, secret string)

SetAccess set twitter client

Types

type User

type User *twitter.User

User twitter

func GetUser

func GetUser() (user User, err error)

GetUser twitter user

Jump to

Keyboard shortcuts

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