Documentation ¶ Index ¶ func NewRatelimitSMSService(svc sms.Service, limiter ratelimit.Limiter) sms.Service type SMSRatelimitService func (s *SMSRatelimitService) Send(ctx context.Context, tpl string, args []sms.Args, numbers ...string) error 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 Source Files ¶ View all Source files retelimit.go Click to show internal directories. Click to hide internal directories.