apiclient

package
v1.3.33 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2022 License: BSD-3-Clause Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PrepareClient

func PrepareClient(logger *log.Logger) *retryablehttp.Client

Types

type Client

type Client struct {
	APIBase          string
	Key              string
	Logger           *log.Logger
	CustomDomainsURL string
}

func (*Client) Debugf

func (c *Client) Debugf(format string, args ...interface{})

func (*Client) Fatal

func (c *Client) Fatal(args ...interface{})

func (*Client) FilterDomains

func (c *Client) FilterDomains(incoming []string) (outgoing []string, err error)

func (*Client) GetDomains

func (c *Client) GetDomains() ([]string, error)

func (*Client) GetLogger

func (c *Client) GetLogger() *log.Logger

func (*Client) GetUA

func (c *Client) GetUA(uaURL string) (string, error)

Jump to

Keyboard shortcuts

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