Documentation ¶
Index ¶
- Constants
- func AdminHandler(w http.ResponseWriter, r *http.Request)
- func GetTimeline(client *twittergo.Client) (t *twittergo.Timeline, err error)
- func GetTwitterClient(ctx appengine.Context) (c *twittergo.Client, err error)
- func RenderTemplate(w http.ResponseWriter, text string, data interface{})
- func RequestHandler(w http.ResponseWriter, r *http.Request)
- func StoreCredentials(cred *Credentials, ctx appengine.Context) (err error)
- type Credentials
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 GetTwitterClient ¶
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)
Click to show internal directories.
Click to hide internal directories.