gandi

package module
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 6 Imported by: 10

README

Gandi Go library

GoDoc License Go

This library interacts with Gandi's API, to manage Gandi services. This API returns some data as HTTP headers, please note those are ignored by this library.

A simple CLI is also shipped with this library. It returns responses to the requests in JSON. Build it with go build -o gandi ./cmd.

Linting

We use pre-commit to managing and maintaining hooks, you can follow the official website instructions to install it.

Install

python3 -m pip install pre-commit

Then in the repo root dir

pre-commit install

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCertificateClient

func NewCertificateClient(config config.Config) *certificate.Certificate

NewCertificateClient returns a client to the Gandi Certificate API It expects an API key, available from https://account.gandi.net/en/

func NewDomainClient

func NewDomainClient(config config.Config) *domain.Domain

NewDomainClient returns a client to the Gandi Domains API It expects an API key, available from https://account.gandi.net/en/

func NewEmailClient

func NewEmailClient(config config.Config) *email.Email

NewEmailClient returns a client to the Gandi Email API It expects an API key, available from https://account.gandi.net/en/

func NewLiveDNSClient

func NewLiveDNSClient(config config.Config) *livedns.LiveDNS

NewLiveDNSClient returns a client to the Gandi Domains API It expects an API key, available from https://account.gandi.net/en/

func NewSimpleHostingClient

func NewSimpleHostingClient(config config.Config) *simplehosting.SimpleHosting

NewSimpleHostingClient returns a client to the Gandi Simple Hosting API It expects an API key, available from https://account.gandi.net/en/

Types

This section is empty.

Directories

Path Synopsis
internal

Jump to

Keyboard shortcuts

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