tencent

package
v0.0.0-...-c234f5e Latest Latest
Warning

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

Go to latest
Published: Mar 9, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

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

func NewService

func NewService(client *tencentSMS.Client, appId string, signName string) *Service

func (*Service) Send

func (s *Service) Send(ctx context.Context, templateId string, templateArgs []string, numbers ...string) error

func (*Service) SendV1

func (s *Service) SendV1(ctx context.Context, templateId string, templateArgs any, numbers ...string) error

func (*Service) SendV2

func (s *Service) SendV2(ctx context.Context, templateId string, templateArgs []mysms.NamedArg, numbers ...string) error

Jump to

Keyboard shortcuts

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