Documentation ¶
Index ¶
- func ChampionData() *staticdata.ChampionData
- func ChampionImagePrefix() string
- func GetServiceFactory() league.ServiceFactory
- func HandleError(c revel.Controller, err error) revel.Result
- func ItemData() *staticdata.ItemData
- func ItemsImagePrefix() string
- func MapData() *staticdata.MapData
- func MapImagePrefix() string
- func UIImagePrefix() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ChampionData ¶
func ChampionData() *staticdata.ChampionData
ChampionData returns all of the current static champion data, keyed by champion ID
func ChampionImagePrefix ¶
func ChampionImagePrefix() string
ChampionImagePrefix returns the current prefix for LoL champion static images (up to '/img/')
func GetServiceFactory ¶
func GetServiceFactory() league.ServiceFactory
GetServiceFactory creates or gets a singleton thread-safe service factory
func HandleError ¶
func HandleError(c revel.Controller, err error) revel.Result
HandleError will inspect an error object and call the appropriate controller function
func ItemData ¶
func ItemData() *staticdata.ItemData
ItemData returns all of the current static item data, keyed by item ID
func ItemsImagePrefix ¶
func ItemsImagePrefix() string
ItemsImagePrefix returns the current prefix for LoL item static images (up to '/img/')
func MapData ¶
func MapData() *staticdata.MapData
MapData returns all of the current static map data, keyed by map ID
func MapImagePrefix ¶
func MapImagePrefix() string
MapImagePrefix returns the current prefix for LoL map static images (up to '/img/')
func UIImagePrefix ¶
func UIImagePrefix() string
UIImagePrefix returns the current prefix for LoL UI static images, e.g. gold, (up to '/img/')
Types ¶
This section is empty.