ratelimit

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

func NewRateLimitSMSServiceV1

func NewRateLimitSMSServiceV1(service sms.Service, limiter ratelimit.Limiter, key string) sms.Service

Types

type RateLimitSMSServiceV1

type RateLimitSMSServiceV1 struct {
	sms.Service
	// contains filtered or unexported fields
}

func (*RateLimitSMSServiceV1) Send

func (r *RateLimitSMSServiceV1) 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