sms

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Sep 26, 2024 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 LoginCodeValid added in v1.1.0

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

func NewLoginCodeValid added in v1.1.0

func NewLoginCodeValid(d template.Dependencies, m *LoginCodeValidModel) *LoginCodeValid

func (*LoginCodeValid) MarshalJSON added in v1.1.0

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

func (*LoginCodeValid) PhoneNumber added in v1.1.0

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

func (*LoginCodeValid) SMSBody added in v1.1.0

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

func (*LoginCodeValid) TemplateType added in v1.1.0

func (t *LoginCodeValid) TemplateType() template.TemplateType

type LoginCodeValidModel added in v1.1.0

type LoginCodeValidModel struct {
	To               string                 `json:"to"`
	LoginCode        string                 `json:"login_code"`
	Identity         map[string]interface{} `json:"identity"`
	RequestURL       string                 `json:"request_url"`
	TransientPayload map[string]interface{} `json:"transient_payload"`
}

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)

func (*TestStub) TemplateType added in v1.1.0

func (t *TestStub) TemplateType() template.TemplateType

type TestStubModel

type TestStubModel struct {
	To       string                 `json:"to"`
	Body     string                 `json:"body"`
	Identity map[string]interface{} `json:"identity"`
}

type VerificationCodeValid added in v1.1.0

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

func NewVerificationCodeValid added in v1.1.0

func (*VerificationCodeValid) MarshalJSON added in v1.1.0

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

func (*VerificationCodeValid) PhoneNumber added in v1.1.0

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

func (*VerificationCodeValid) SMSBody added in v1.1.0

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

func (*VerificationCodeValid) TemplateType added in v1.1.0

func (t *VerificationCodeValid) TemplateType() template.TemplateType

type VerificationCodeValidModel added in v1.1.0

type VerificationCodeValidModel struct {
	To               string                 `json:"to"`
	VerificationCode string                 `json:"verification_code"`
	Identity         map[string]interface{} `json:"identity"`
	RequestURL       string                 `json:"request_url"`
	TransientPayload map[string]interface{} `json:"transient_payload"`
}

Jump to

Keyboard shortcuts

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