Name | Modified | Size | Downloads / 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: - 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 functionfunc TestConcurrentInteractions(t *testing.T, goroutineCount int, store gokv.Store)
that you can use to test yourgokv.Store
implementation with concurrent interactions. - Improved: The
etcd.Client
timeout implementation was improved. - Fixed: The
Get()
method of thebbolt
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 ofgokv.Store
are not compatible with the interface anymore. - Renamed
bolt
package tobbolt
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
tofunc NewClient(options Options) (Client, error)
.