v1

package
v0.3.1 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2020 License: Apache-2.0 Imports: 4 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Lookups

type Lookups struct {
	PhoneNumber func(string) *phone_number.Client
	// contains filtered or unexported fields
}

Lookups client is used to manage resources for Lookups See https://www.twilio.com/docs/lookup for more details

func New

func New(sess *session.Session) *Lookups

New creates a new instance of the client using session data

func NewWithClient

func NewWithClient(client *client.Client) *Lookups

NewWithClient creates a new instance of the client with a HTTP client

func NewWithCredentials

func NewWithCredentials(creds *credentials.Credentials) *Lookups

NewWithCredentials creates a new instance of the client with credentials

func (Lookups) GetClient

func (s Lookups) GetClient() *client.Client

Used for testing purposes only

Directories

Path Synopsis
Package phone_number contains auto-generated files.
Package phone_number contains auto-generated files.

Jump to

Keyboard shortcuts

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