Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NewsClient ¶
type NewsClient struct { // Available locales: // en-us, en-gb, de-de, es-es, fr-fr, it-it, en-au, pl-pl, ru-ru, // el-gr, ro-ro, hu-hu, cs-cz, es-mx, pt-br, tr-tr, ko-kr, ja-jp // en-sg, en-ph, zh-tw, vi-vn, th-th Locale string }
A client that allows to get official Teamfight Tactics news.
type NewsEntry ¶
type NewsEntry struct { UID string `json:"uid"` Authors []string `json:"authors"` Categories []string `json:"categories"` Date time.Time `json:"date"` Description string `json:"description"` Image string `json:"image"` Title string `json:"title"` URL string `json:"url"` }
Teamfight Tactics news entry
Click to show internal directories.
Click to hide internal directories.