sdk-go

module
v1.6.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 13, 2022 License: MIT

README

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

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL