addresses

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: May 8, 2020 License: MIT 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 {
	*common.Client
}

func NewClient

func NewClient(client *common.Client) *Client

func (*Client) GetAddresses

func (cli *Client) GetAddresses(ctx context.Context, filters map[string]string) ([]common.Address, error)

func (*Client) SaveAddress

func (cli *Client) SaveAddress(ctx context.Context, filters map[string]string) ([]common.Address, error)

type Manager

type Manager interface {
	GetAddresses(ctx context.Context, filters map[string]string) ([]common.Address, error)
	SaveAddress(ctx context.Context, filters map[string]string) ([]common.Address, error)
}

type Response

type Response struct {
	Status    common.Status    `json:"status"`
	Addresses common.Addresses `json:"records"`
}

GetAddressesResponse ..

Jump to

Keyboard shortcuts

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