v1

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 License: Apache-2.0 Imports: 7 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	Alert  func(string) *alert.Client
	Alerts *alerts.Client
	Event  func(string) *event.Client
	Events *events.Client
	// contains filtered or unexported fields
}

Monitor client is used to manage resources for Twilio Monitor

func New

func New(sess *session.Session) *Monitor

New creates a new instance of the client using session data

func NewWithClient

func NewWithClient(client *client.Client) *Monitor

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

func NewWithCredentials

func NewWithCredentials(creds *credentials.Credentials) *Monitor

NewWithCredentials creates a new instance of the client with credentials

func (Monitor) GetClient

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

Used for testing purposes only

Directories

Path Synopsis
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.
This is an autogenerated file.

Jump to

Keyboard shortcuts

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