messagesenderoutput

package module
v0.0.0-...-dd18469 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2021 License: MIT Imports: 6 Imported by: 0

README

Message Sender Output Implementation

Useful for test and development purposes.

codecov Go Report Card Go Reference

Documentation

Index

Constants

View Source
const DefaultTemplate = `{{ .PhoneNumber }}

{{ .Message }}
`

Variables

This section is empty.

Functions

func New

func New(options ...Option) smssvc.MessageSender

Types

type Option

type Option func(sender *messageSender)

func WithOutput

func WithOutput(output io.Writer) Option

func WithTemplate

func WithTemplate(tpl *template.Template) Option

Jump to

Keyboard shortcuts

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