Download Latest Version v0.7.0 (2024-01-28) source code.zip (225.7 kB)
Email in envelope

Get an email when there's a new version of gokv

Home / v0.4.0
Name Modified Size InfoDownloads / Week
Parent folder
README.md 2018-12-02 2.0 kB
v0.4.0 (2018-12-02) source code.tar.gz 2018-12-02 37.1 kB
v0.4.0 (2018-12-02) source code.zip 2018-12-02 70.7 kB
Totals: 3 Items   109.8 kB 0
  • Added: Method Close() error (issue #36)
  • Added gokv.Store implementations:
    • Package mongodb - A gokv.Store implementation for MongoDB (issue #27)
    • Package dynamodb - A gokv.Store implementation for Amazon DynamoDB (issue #28)
    • Package memcached - A gokv.Store implementation for Memcached (issue #31)
    • Package mysql - A gokv.Store implementation for MySQL (issue #32)
  • Added: The factory function redis.NewClient() now checks if the connection to the Redis server works and otherwise returns an error.
  • Added: The test package now has the function func TestConcurrentInteractions(t *testing.T, goroutineCount int, store gokv.Store) that you can use to test your gokv.Store implementation with concurrent interactions.
  • Improved: The etcd.Client timeout implementation was improved.
  • Fixed: The Get() method of the bbolt store ignored errors if they occurred during the retrieval of the value
  • Fixed: Spelling in error message when using the etcd implementation and the etcd server is unreachable

Breaking changes

  • The added Close() error method (see above) means that previous implementations of gokv.Store are not compatible with the interface anymore.
  • Renamed bolt package to bbolt to reflect the fact that the maintained fork is used. Also changed all other occurrences of "bolt" (e.g. in GoDoc comments etc.).
  • Due to the above mentioned addition to the Redis client factory function, the function signature changed from func NewClient(options Options) Client to func NewClient(options Options) (Client, error).
Source: README.md, updated 2018-12-02