Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
pkg
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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 9 services available:

  • Account
  • DDoSX
  • eCloud
  • Load Testing
  • PSS
  • Registrar
  • SafeDNS
  • SSL
  • Storage