Browse Source

Remove unused func

Evan Huus 12 years ago
parent
commit
8b17b523f5
1 changed files with 0 additions and 9 deletions
  1. 0 9
      client.go

+ 0 - 9
client.go

@@ -107,15 +107,6 @@ func (client *Client) rcvResponseLoop() {
 	}
 }
 
-func (client *Client) encode(api API, body []byte, pe packetEncoder) {
-	pe.putInt32(int32(len(body)))
-	pe.putInt16(api.key)
-	pe.putInt16(api.version)
-	pe.putInt32(client.correlation_id)
-	pe.putString(client.id)
-	//pe.putRaw(body)
-}
-
 func (client *Client) sendRequest(api API, body encoder) (chan []byte, error) {
 	var prepEnc prepEncoder
 	var realEnc realEncoder