Golang bindings to interract with happyDomain (user only)
Go to file
2024-01-23 14:39:52 +01:00
api.go The main application moves to app.happydomain.org 2024-01-23 14:39:52 +01:00
domain.go Initial commit 2023-09-07 16:30:32 +02:00
go.mod Initial commit 2023-09-07 16:30:32 +02:00
go.sum Initial commit 2023-09-07 16:30:32 +02:00
LICENSE Initial commit 2023-09-07 16:30:32 +02:00
provider.go Initial commit 2023-09-07 16:30:32 +02:00
README.md Initial commit 2023-09-07 16:30:32 +02:00
service.go Initial commit 2023-09-07 16:30:32 +02:00
zone.go Initial commit 2023-09-07 16:30:32 +02:00

happyDomain Golang SDK

Golang bindings to interract with happyDomain (user API only, not administrative API).

Sample usage

package main

import (
	"log"

	"git.happydomain.org/golang-sdk"
)

func main() {
	h := happydomain.DefaultAPI

	err := h.Login("fred@happydomaun.org", "redacted")
	if err != nil {
		log.Fatal(err)
	}

	log.Println(h.DomainList())
}