config

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package config sets up all the configuration for GoDaddy CLI

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GoDaddy

func GoDaddy() (godaddygo.V1, error)

GoDaddy creates a new oze4/godaddgo.API instance with the configuration applied

Types

type APICredentials

type APICredentials struct {
	Key    string `json:"key"`
	Secret string `json:"secret"`
}

APICredentials used in each request

func Credentials

func Credentials() (APICredentials, error)

Credentials reads the credentials files located in $HOME/.config/godaddy/credentials.json and returns a Credentials

Jump to

Keyboard shortcuts

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