Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewDefaultHttpClient ¶
Types ¶
type Authenticator ¶
type Authenticator struct { ServerKey *rsa.PrivateKey PublicKey []byte // ASN.1 DER form encoded HttpClient *fasthttp.Client }
Authenticator is a Minecraft client login authenticator.
func NewAuthenticator ¶
func NewAuthenticator() *Authenticator
func (*Authenticator) GenerateServerId ¶
func (a *Authenticator) GenerateServerId(sharedSecret []byte) string
Click to show internal directories.
Click to hide internal directories.