failover

package
v0.0.0-...-d13da26 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFailoverSMSService

func NewFailoverSMSService(svcs []sms.Service) sms.Service

func NewTimeoutFailoverSMSService

func NewTimeoutFailoverSMSService() sms.Service

Types

type FailoverSMSService

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

func (*FailoverSMSService) Send

func (f *FailoverSMSService) Send(ctx context.Context, tpl string, args []string, numbers ...string) error

func (*FailoverSMSService) SendV1

func (f *FailoverSMSService) SendV1(ctx context.Context, tpl string, args []string, numbers ...string) error

type TimeoutFailoverSMSService

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

func (*TimeoutFailoverSMSService) Send

func (t *TimeoutFailoverSMSService) Send(ctx context.Context,
	tpl string, args []string, numbers ...string) error

Jump to

Keyboard shortcuts

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