contactsclient

package
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2020 License: MIT Imports: 7 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 interface {
	HTTPClient() *zanzibar.HTTPClient
	SaveContacts(
		ctx context.Context,
		reqHeaders map[string]string,
		args *clientsContactsContacts.SaveContactsRequest,
	) (*clientsContactsContacts.SaveContactsResponse, map[string]string, error)
	TestURLURL(
		ctx context.Context,
		reqHeaders map[string]string,
	) (string, map[string]string, error)
}

Client defines contacts client interface.

func NewClient

func NewClient(deps *module.Dependencies) Client

NewClient returns a new http client.

Directories

Path Synopsis
Package clientmock is a generated GoMock package.
Package clientmock is a generated GoMock package.

Jump to

Keyboard shortcuts

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