Skip to content

Gocorex is a collection golang useful utils for golang application, distributed system and microservices.

License

Notifications You must be signed in to change notification settings

qingwave/gocorex

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gocorex

Gocorex is a collection golang useful utils for distributed system and microservices.

Features

Distributed Bloom Filter

Distributed Rate Limiter

Distributed Lock

Service Discovery

PubSub

Cron

Concurrency

  • Group, wrap the WaitGroup
  • ErrGroup, run groups of goroutines, context cancel when meet error
  • CtrlGroup, run special number goroutines

Metrics

Data structures

  • Set, hash set with generics
  • Heap, heap with generics
  • Queue, queue with generics
  • Ring, ring queue with generics

utils

  • trace, recoding the latency of operations
  • retry, retry operation on conditional

About

Gocorex is a collection golang useful utils for golang application, distributed system and microservices.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages