twilio

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 17, 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 Plugin

type Plugin struct{}

func (Plugin) Alerts

func (h Plugin) Alerts() []goplum.AlertType

func (Plugin) Checks

func (h Plugin) Checks() []goplum.CheckType

func (Plugin) Name

func (h Plugin) Name() string

type SmsAlert

type SmsAlert struct {
	// contains filtered or unexported fields
}

func (SmsAlert) Send

func (n SmsAlert) Send(details goplum.AlertDetails) error

type SmsAlertType

type SmsAlertType struct{}

func (SmsAlertType) Create

func (n SmsAlertType) Create(config json.RawMessage) (goplum.Alert, error)

func (SmsAlertType) Name

func (n SmsAlertType) Name() string

type SmsParams

type SmsParams struct {
	To    string `json:"to"`
	From  string `json:"from"`
	SID   string `json:"sid"`
	Token string `json:"token"`
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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