Documentation
¶
Index ¶
Constants ¶
View Source
const ( SESSION_SERVER = "https://sessionserver.mojang.com" PROFILE_URL_FMT = "%s/session/minecraft/profile/%s" )
Variables ¶
View Source
var (
ERR_HAS_NO_SKIN = errors.New(`user has no skin`)
)
Functions ¶
Types ¶
type Profile ¶
type Profile struct { Id string Name string Properties []ProfileProperty }
func (Profile) Textures ¶
func (pc Profile) Textures() (*ProfilePropertyTextures, error)
type ProfileCache ¶
type ProfileCache map[string]ProfileCacheEntry
type ProfileCacheEntry ¶
type ProfileCacheEntry struct {
// contains filtered or unexported fields
}
type ProfileClient ¶
type ProfileClient struct {
// contains filtered or unexported fields
}
func NewProfileClient ¶
func NewProfileClient() *ProfileClient
func (*ProfileClient) GetProfile ¶
type ProfileProperty ¶
type ProfilePropertyTextures ¶
type ProfileTextureData ¶
type ProfileTextureData struct {
Url string
}
Click to show internal directories.
Click to hide internal directories.