Versions in this module Expand all Collapse all v0 v0.0.0 Dec 30, 2023 Changes in this version + var ServicesURL = "https://api.minecraftservices.com" + func VerifySignature(profilePubKey, signature []byte) bool + type KeyPairResp struct + ExpiresAt time.Time + KeyPair struct{ ... } + PublicKeySignature string + PublicKeySignatureV2 string + RefreshedAfter time.Time + func GetOrFetchKeyPair(accessToken string) (KeyPairResp, error) + func (k KeyPairResp) WriteTo(w io.Writer) (int64, error) + type Property struct + Name string + Signature string + Value string + func (p *Property) ReadFrom(r io.Reader) (n int64, err error) + func (p Property) WriteTo(w io.Writer) (n int64, err error) + type PublicKey struct + ExpiresAt time.Time + PubKey *rsa.PublicKey + Signature []byte + func (p *PublicKey) ReadFrom(r io.Reader) (n int64, err error) + func (p *PublicKey) Verify() bool + func (p *PublicKey) VerifyMessage(hash, signature []byte) error + func (p PublicKey) WriteTo(w io.Writer) (n int64, err error) + type Texture struct + ID uuid.UUID + Name string + Textures struct{ ... } + TimeStamp int64