failover

package
v0.0.0-...-7efebb4 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FailOverSMSService

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

func NewFailoverSMSService

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

func (*FailOverSMSService) Send

func (f *FailOverSMSService) Send(ctx context.Context, tplId string, args []string, phoneNums []string) error

type TimeoutFailOverSmsService

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

func NewTimeoutFailOverSmsService

func NewTimeoutFailOverSmsService(svcs []sms.Service) *TimeoutFailOverSmsService

func (*TimeoutFailOverSmsService) Send

func (t *TimeoutFailOverSmsService) Send(ctx context.Context, tplId string, args []string, phoneNums []string) error

Jump to

Keyboard shortcuts

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