repo: Close datastore in Close

This commit is contained in:
Łukasz Magiera
2019-09-17 16:34:22 +02:00
parent 83f1a336a6
commit f2ecb772fa
3 changed files with 9 additions and 5 deletions
+1 -1
View File
@@ -57,7 +57,7 @@ type clientRequest struct {
// ClientCloser is used to close Client from further use
type ClientCloser func()
// NewClient creates new josnrpc 2.0 client
// NewClient creates new jsonrpc 2.0 client
//
// handler must be pointer to a struct with function fields
// Returned value closes the client connection