ratelimit

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Sep 8, 2024 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRatelimitSMSService

func NewRatelimitSMSService(svc sms.Service, limiter ratelimit.Limiter) sms.Service

Types

type SMSRatelimitService

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

func (*SMSRatelimitService) Send

func (s *SMSRatelimitService) Send(ctx context.Context, tpl string, args []sms.Args, numbers ...string) error

Jump to

Keyboard shortcuts

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