util

package
v0.0.0-...-60e61b6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2016 License: MIT Imports: 6 Imported by: 0

Documentation

Index

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL