Skip to content

release v3.0.0

Latest
Compare
Choose a tag to compare
@amyangfei amyangfei released this 16 Jun 11:50
· 1 commit to master since this release

Note part APIs are not compatible when upgrading from v2.0.x to v3.0.x

  • Add a context.Context parameter in lock constructor.
  • RedLock.SetCache is removed, using redlock.CacheOption instead.
  • The time of expirity returned from Lock API is changed from int64 to time.Duration.