sdk-go
This is an SDK for interacting with UKFast APIs from Go applications.
You should refer to the Getting Started section of the API documentation before proceeding below
Basic usage
First we'll instantiate a Client struct with an API key:
ukfclient := client.NewClient(connection.NewAPIKeyCredentialsAPIConnection("myapikey"))
And away we go:
service := ukfclient.SafeDNSService()
zone, err := service.GetZone("ukfast.co.uk")
...
Services
Resources/models are separated into separate service packages, found within pkg/service
.
There are currently 14 services available:
- Account
- Billing
- Cloudflare
- DDoSX
- DRaaS
- eCloud
- eCloud Flex
- Loadbalancer
- PSS
- Registrar
- SafeDNS
- Shared Exchange
- SSL
- Storage