Versions in this module Expand all Collapse all v0 v0.0.2 Oct 19, 2015 v0.0.1 Oct 8, 2015 Changes in this version + var API = TwitchAPI + var Usher = UsherAPI + type Channel struct + Links struct{ ... } + Stream *Stream + type HTTPClient interface + Do func(*http.Request) (*http.Response, error) + type Stream struct + CreatedAt time.Time + Data struct{ ... } + Game string + ID int64 + type Token struct + Body string + MobileRestricted bool + Sig string + func (tok Token) Values() (u url.Values) + type TokenType string + const TokenLive + const TokenVideo + type TwitchAPI struct + func (api TwitchAPI) Channel(name string) (channel Channel, err error) + func (api TwitchAPI) IsLive(channelName string) (live bool, err error) + func (api TwitchAPI) Token(t TokenType, value string) (token Token, err error) + func (api TwitchAPI) TokenURL(endpoint, asset string, params url.Values) (u *url.URL) + func (api TwitchAPI) URL(endpoint string, params url.Values) (u *url.URL) + type UsherAPI struct + func (api UsherAPI) Channel(name string, params url.Values) (u *url.URL) + func (api UsherAPI) URL(endpoint string, params url.Values) (u *url.URL) + func (api UsherAPI) Video(video_id string, params url.Values) (u *url.URL)