Code

client: Add a thread-safe Client object on top of the Conn object.
authorSebastian Harl <sh@tokkee.org>
Sat, 9 May 2015 13:41:09 +0000 (15:41 +0200)
committerSebastian Harl <sh@tokkee.org>
Sat, 9 May 2015 13:41:09 +0000 (15:41 +0200)
commit9457a1fd0caa6b6be4bf9c42f79de8d62989c3ab
tree284d995cbbe073f370cc0dd39417d318984d29b9
parente4d7b0fcc5352abe6d0254abcacab17e69673109
client: Add a thread-safe Client object on top of the Conn object.

A client maintains multiple connections to the server and uses one of them
exclusively for each request.
client/client.go
client/conn.go [new file with mode: 0644]