Go SDK
Go 1.20+ · LibreAuth native client
Go
Go 1.20+
Setup Guide
Copy libreauth.go · go mod init · set API URL
- Panel → Manage Applications → copy name + ownerid
- API URL:
https://libreauth.nutexe.dev/api/1.3/ - Source:
go/libreauth.go - Ed25519 key: /health · Response Signing
- Test: Live API · Init docs
Install / Dependencies
Terminal
go mod init myapp
# Copy sdk/go/libreauth.go
Code Example
Go
app := libreauth.New("AppName", "OWNER_ID_10", "1.0", "https://libreauth.nutexe.dev/api/1.3/")
app.Init()
info, _ := app.Login("user", "pass", "HWID")
Quick Test
Test
go run main.go