Skip to content

rolancia/merry-go-round

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

merry-go-round

The simplest synchronized, sized resource pool.

example


pool := merry_go_round.NewPool(func() interface{} {
	return 1 // returns resource you need
}, 64)

rs := pool.Get() // get resource
pool.Put(rs) // release resource

Releases

No releases published

Packages

No packages published

Languages