Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
0x4c6565 Merge pull request #20 from ukfast/ddosx-delete-domain-support
Adds support for deleting DDoSX domains
Latest commit 013aa3f May 17, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
pkg Adds support for deleting DDoSX domains May 17, 2019
test initial commit Mar 19, 2019
vendor Parse cdn cacheduration (#15) Apr 11, 2019
.gitignore add additional resources Apr 30, 2019
.travis.yml fix ci Mar 22, 2019
LICENSE Initial commit Feb 28, 2019
README.md update readme Apr 1, 2019
cover.ps1 initial commit Mar 19, 2019
go.mod Parse cdn cacheduration (#15) Apr 11, 2019
go.sum Parse cdn cacheduration (#15) Apr 11, 2019

README.md

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.NewAPIKeyCredentialsConnection("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 5 services available:

  • Account
  • DDoSX
  • eCloud
  • SafeDNS
  • SSL
  • Registrar
  • PSS
You can’t perform that action at this time.