rebel-l / sessionservice

A simple session service based on golang.
GNU General Public License v3.0
0 stars 0 forks source link

Refactor Ping Endpoint to use storage handler interface #36

Open rebel-l opened 6 years ago

rebel-l commented 6 years ago

The redis client was wrapped in an interface to make mocks and unit tests available. This was implemented for session PUT endpoint but not for Ping endpoint.

The use of the redis client directly is only there to be compatible with the Ping endpoint.

After changing this the deprecated redis client can be removed