Palm tree is a connection pool package for go which Closes the connections if it wants to discard them.
Underneath it will keep the idle connection in channel buffer.
If channel buffer which is set by Buffer
value is full, calling Put
will close the connection and discard it.
Test show how the package can be used.