Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( //Repo -- repo holds the registered sku interfaces Repo = make(map[string]TileGenerator) )
Functions ¶
func GetRegistry ¶
func GetRegistry() map[string]TileGenerator
GetRegistry -- gets the map of all registered Sku interface objects
func Register ¶
func Register(name string, tile TileGenerator)
Register -- add a Sku interface object to the Repo
Types ¶
type TileGenerator ¶
TileGenerator - interface for a tile creating object
Click to show internal directories.
Click to hide internal directories.