Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ServicesURL = "https://api.minecraftservices.com"
Functions ¶
This section is empty.
Types ¶
type KeyPairResp ¶
type KeyPairResp struct { KeyPair struct { PrivateKey string `json:"privateKey"` PublicKey string `json:"publicKey"` } `json:"keyPair"` PublicKeySignature string `json:"publicKeySignature"` PublicKeySignatureV2 string `json:"publicKeySignatureV2"` ExpiresAt time.Time `json:"expiresAt"` RefreshedAfter time.Time `json:"refreshedAfter"` }
func GetOrFetchKeyPair ¶
func GetOrFetchKeyPair(accessToken string) (KeyPairResp, error)
Click to show internal directories.
Click to hide internal directories.