nchLib

package
v0.0.0-...-68cf36d Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

namecheap library author: prr, azul software date: 27 Mar 2022 copyright 2023 prr, azul software

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrintClientOptions

func PrintClientOptions(nch *nchSdk.ClientOptions)

func PrintDomains

func PrintDomains(resp *nchSdk.DomainsGetListCommandResponse)

Types

type CfNsNames

type CfNsNames struct {
	File   string
	Domain string `yaml:"domain"`
	Ns1    string `yaml:"ns1"`
	Ns2    string `yaml:"ns2"`
}

func ReadNsRec

func ReadNsRec(yamlFilNam string, dbg bool) (ns *CfNsNames, err error)

type NchCred

type NchCred struct {
	Sandbox bool   `yaml:"Sandbox"`
	Email   string `yaml:"Email"`
	ApiUser string `yaml:"ApiUser"`
	ApiKey  string `yaml:"ApiKey"`
	IP      string `yaml:"IP"`
	Domain  string `yaml:"Domain"`
	File    string
	NchApi  string
}

func (*NchCred) GetClientOpt

func (nch *NchCred) GetClientOpt() (clOptRef *nchSdk.ClientOptions, err error)

func (*NchCred) InitNch

func (nch *NchCred) InitNch(yamlFilNam string, dbg bool) (err error)

func (*NchCred) PrintNchCred

func (nch *NchCred) PrintNchCred()

Jump to

Keyboard shortcuts

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