active24-go

module
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2023 License: Apache-2.0

README

Active24.cz client in Go

This is client library to interact with Active24 API. Currently, only subset of API is implemented, but contributions are always welcome.

Usage

package main

import "github.com/rkosegi/active24-go/active24"

func main() {
	client := active24.New("my-secret-api-token")

	alias := "host1"
	_, err := client.Dns().With("example.com").Create(active24.DnsRecordTypeA, &active24.DnsRecord{
		Alias: &alias,
	})
	if err != nil {
		panic(err)
	}
}

Directories

Path Synopsis
examples
dns command
domains command

Jump to

Keyboard shortcuts

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