Mainflux.mainflux/users/postgres
Michael Finley 49a41d909e MF-448 - Add option to connect to DB with verify-ca and verify-full (#500)
* MF-448 - Add option to connect to DB with verify-ca and verify-full

Adds the option to connect with verify-ca and verify-full
Users can now specify any extra certs and keys they may need.

Signed-off-by: MichaelFinley <Michael.Finley@target.com>

* Passing db config struct rather than seperate parameters

Also updated the tests to use the config

Signed-off-by: MichaelFinley <Michael.Finley@target.com>

* Unexporting fields apart of users config

Also added comments to the newly exported Config in things & users postgres/init.go

Signed-off-by: MichaelFinley <Michael.Finley@target.com>
2018-12-16 00:28:22 +01:00
..
doc.go MF-325 - Add SPDX license and copyright headers (#362) 2018-08-26 13:15:48 +02:00
init.go MF-448 - Add option to connect to DB with verify-ca and verify-full (#500) 2018-12-16 00:28:22 +01:00
setup_test.go MF-448 - Add option to connect to DB with verify-ca and verify-full (#500) 2018-12-16 00:28:22 +01:00
users.go MF-325 - Add SPDX license and copyright headers (#362) 2018-08-26 13:15:48 +02:00
users_test.go MF-325 - Add SPDX license and copyright headers (#362) 2018-08-26 13:15:48 +02:00