package
Version:
v4.22.2
Opens a new window with list of versions in this module.
Published: Feb 17, 2025
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
-
type Client
-
func (c *Client) AddTXTRecord(ctx context.Context, zoneID, version int, name, value string, ttl int) error
-
func (c *Client) CloneZone(ctx context.Context, zoneID int, name string) (int, error)
-
func (c *Client) DeleteZone(ctx context.Context, zoneID int) error
-
func (c *Client) GetZoneID(ctx context.Context, domain string) (int, error)
-
func (c *Client) NewZoneVersion(ctx context.Context, zoneID int) (int, error)
-
func (c *Client) SetZone(ctx context.Context, domain string, zoneID int) error
-
func (c *Client) SetZoneVersion(ctx context.Context, zoneID, version int) error
-
type RPCError
Client the Gandi API client.
NewClient Creates a new Client.
type RPCError struct {
FaultCode int
FaultString string
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.