Skip to content

alex023/basekit

Repository files navigation

basekit

The commonly used go language development kit

License Go Report Card GoDoc Build Status

Some usual toolkit,include:

pub-sub

Just mediate implemention in memory(publish:Topic,subscribe:channel)

singleflight

only duplicate of singleflight in groupcache

svc

program init,start,safe exit

hash

  • consistent:
  • hrw:provides an implementation of Highest Random Weight hashing, an alternative to consistent hashing which is both simple and fast

other

  • counter:multithreading counter
  • waitwraper:a wrapper for simplify calling for waitgroup

About

The commonly used go language development kit

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages