app

package
v0.0.0-...-9c31406 Latest Latest
Warning

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

Go to latest
Published: Nov 16, 2014 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	COUNT       int = 100
	SCREEN_NAME     = "kurrik"
)
View Source
const ADMIN_SAVED_TEMPLATE = `` /* 229-byte string literal not displayed */
View Source
const ADMIN_TEMPLATE = `` /* 780-byte string literal not displayed */
View Source
const NOT_CONFIGURED_TEMPLATE = `` /* 203-byte string literal not displayed */
View Source
const TIMELINE_TEMPLATE = `` /* 304-byte string literal not displayed */

Variables

This section is empty.

Functions

func AdminHandler

func AdminHandler(w http.ResponseWriter, r *http.Request)

func GetTimeline

func GetTimeline(client *twittergo.Client) (t *twittergo.Timeline, err error)

func GetTwitterClient

func GetTwitterClient(ctx appengine.Context) (c *twittergo.Client, err error)

func RenderTemplate

func RenderTemplate(w http.ResponseWriter, text string, data interface{})

func RequestHandler

func RequestHandler(w http.ResponseWriter, r *http.Request)

func StoreCredentials

func StoreCredentials(cred *Credentials, ctx appengine.Context) (err error)

Types

type Credentials

type Credentials struct {
	ConsumerKey    string
	ConsumerSecret string
	AccessToken    string
	AccessSecret   string
}

func LoadCredentials

func LoadCredentials(ctx appengine.Context) (cred *Credentials, err error)

Jump to

Keyboard shortcuts

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