cache

package
v0.0.0-...-96089b2 Latest Latest
Warning

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

Go to latest
Published: Oct 21, 2015 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Init

func Init(cache SkinCache)

Types

type SkinCache

type SkinCache interface {
	Fetch(uuid string) SkinMeta
	FetchByName(name string) SkinMeta
}

func Memory

func Memory() SkinCache

type SkinMeta

type SkinMeta interface {
	mc.SkinMeta
	Profile() mc.Profile
	Timestamp() time.Time
	Fetch() (SkinMeta, mc.Skin)
}

func Alex

func Alex() SkinMeta

func Fallback

func Fallback(profile mc.Profile) SkinMeta

func FallbackByName

func FallbackByName(name string) SkinMeta

func FallbackByUUID

func FallbackByUUID(uuid string) SkinMeta

func Fetch

func Fetch(uuid string) SkinMeta

func FetchByName

func FetchByName(name string) SkinMeta

func Steve

func Steve() SkinMeta

Jump to

Keyboard shortcuts

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