/solus-go-sdk

solus-go-sdk is a Go client for SolusVM 2 API

Primary LanguageGoOtherNOASSERTION

SolusVM v2 GoLang SDK

Go Reference GitHub Workflow Status Report Card Coverage Status

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.

Official site

Usage

client, err := solus.NewClient(baseURL, solus.EmailAndPasswordAuthenticator{
    Email: "email@example.com",
    Password: "12345678",
})

Or

client, err := solus.NewClient(baseURL, solus.APITokenAuthenticator{Token: "api token"})

Development

For (re)generating code just run go generate