Skip to content

rahman-teja/rlimiter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RLimiter

⭐ Star us on GitHub — it motivates us a lot!

RLimiter is a limiter for sending with worker and maximum limit.

Table of content

Installation

go get github.com/rahman-teja/rlimiter

Example

import "github.com/rahman-teja/rlimiter"

mg, _ := rlimiter.NewManager(
		rlimiter.NewConfig().
			SetSender(sender).
			SetMaxLimit(5).
			SetWorker(5),
	)
	
mg.Start()

mg.Send("Your Message")

or can view full example example/main.go

Authors

Rahman Teja

About

Can limit and wait to done.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages