sms

package
v0.14.0-pre.0 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2023 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OTPMessage

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

func (*OTPMessage) MarshalJSON

func (t *OTPMessage) MarshalJSON() ([]byte, error)

func (*OTPMessage) PhoneNumber

func (t *OTPMessage) PhoneNumber() (string, error)

func (*OTPMessage) SMSBody

func (t *OTPMessage) SMSBody(ctx context.Context) (string, error)

type OTPMessageModel

type OTPMessageModel struct {
	To       string
	Code     string
	Identity map[string]interface{}
}

type TestStub

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

func NewTestStub

func NewTestStub(d template.Dependencies, m *TestStubModel) *TestStub

func (*TestStub) MarshalJSON

func (t *TestStub) MarshalJSON() ([]byte, error)

func (*TestStub) PhoneNumber

func (t *TestStub) PhoneNumber() (string, error)

func (*TestStub) SMSBody

func (t *TestStub) SMSBody(ctx context.Context) (string, error)

type TestStubModel

type TestStubModel struct {
	To       string
	Body     string
	Identity map[string]interface{}
}

Jump to

Keyboard shortcuts

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