notify: gomodules.xyz/notify/twilio Index | Files

package twilio

import "gomodules.xyz/notify/twilio"

Index

Package Files

sms.go

Constants

const UID = "twilio"

func Default Uses

func Default() (*client, error)

func Load Uses

func Load(loader envconfig.LoaderFunc) (*client, error)

func New Uses

func New(opt Options) *client

type Options Uses

type Options struct {
    AccountSid string   `envconfig:"ACCOUNT_SID" required:"true"`
    AuthToken  string   `envconfig:"AUTH_TOKEN" required:"true"`
    From       string   `envconfig:"FROM" required:"true"`
    To         []string `envconfig:"TO"`
}

Package twilio imports 8 packages (graph) and is imported by 2 packages. Updated 2019-04-29. Refresh now. Tools for package owners.