solus-go-sdk is a Go client for accessing SolusVM v2 API
SolusVM is a virtual infrastructure management solution that facilitates choice, simplicity, and performance for ISPs and enterprises. Offer blazing fast, on-demand VMs, a simple API, and an easy-to-use self-service control panel for your customers to unleash your full potential for growth.
client, err := solus.NewClient(baseURL, solus.EmailAndPasswordAuthenticator{
Email: "[email protected]",
Password: "12345678",
})
Or
client, err := solus.NewClient(baseURL, solus.APITokenAuthenticator{Token: "api token"})
For (re)generating code just run go generate