twitterredis

package module
v0.0.0-...-4b82741 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2015 License: MIT Imports: 6 Imported by: 0

README

twitter-redis

🔧 Twitter stream + Redis

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ServerAction

func ServerAction(c *cli.Context)

Types

type Message

type Message struct {
	Message string `json:"message"`
	Author  string `json:"author"`
}

type Server

type Server struct {
	TwitterClient *twitterstream.Client
	RedisClient   *redis.Client
	Track         string
	Messages      chan twitterstream.Tweet
	Done          chan bool
}

func (*Server) ReadFromStream

func (s *Server) ReadFromStream()

func (*Server) WriteToRedis

func (s *Server) WriteToRedis()

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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