localsms

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: 2 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 {
}

func NewService

func NewService() *Service

func (*Service) Send

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

生成的验证码在 templateArgs 中 这里可以认为模版中就一个{}, 传入的验证码就是模版参数

Jump to

Keyboard shortcuts

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