digitalocean

package
v0.4.14 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	*godo.Client
}

func NewClient

func NewClient(cfg *Config) (*Client, error)

func (*Client) GetAddrsByTag added in v0.3.0

func (c *Client) GetAddrsByTag(ctx context.Context, tag string) ([]string, error)

type Config

type Config struct {
	AccessToken     string
	SpacesAccessKey string
	SpacesSecretKey string
}

func (*Config) Token

func (cfg *Config) Token() (*oauth2.Token, error)

Jump to

Keyboard shortcuts

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