Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CategoryMap = map[int]string{
5: "Entertainment",
6: "Movies",
7: "Kids",
8: "Sports",
9: "Lifestyle",
10: "Infotainment",
12: "News",
13: "Music",
15: "Devotional",
16: "Business",
17: "Educational",
18: "Shopping",
19: "JioDarshan",
}
View Source
var LanguageMap = map[int]string{
1: "Hindi",
2: "Marathi",
3: "Punjabi",
4: "Urdu",
5: "Bengali",
6: "English",
7: "Malayalam",
8: "Tamil",
9: "Gujarati",
10: "Odia",
11: "Telugu",
12: "Bhojpuri",
13: "Kannada",
14: "Assamese",
15: "Nepali",
16: "French",
18: "Other",
}
Functions ¶
This section is empty.
Types ¶
type APIResponse ¶
type APIResponse struct { Code int `json:"code"` Message string `json:"message"` Result []Channel `json:"result"` }
func Channels ¶ added in v0.3.5
func Channels() APIResponse
type Channel ¶
type Television ¶
type Television struct {
// contains filtered or unexported fields
}
func NewTelevision ¶
func NewTelevision(ssoToken, crm, uniqueID string) *Television
func (*Television) Live ¶
func (tv *Television) Live(channelID string) string
func (*Television) Render ¶
func (tv *Television) Render(url string) []byte
Click to show internal directories.
Click to hide internal directories.