测试
This commit is contained in:
parent
aced530e9c
commit
d1ed742281
|
@ -79,6 +79,7 @@ func (cli *RPCClient) run() {
|
||||||
// encode gob
|
// encode gob
|
||||||
enc := gob.NewEncoder(buf)
|
enc := gob.NewEncoder(buf)
|
||||||
cliBuffer := <-cli.FrameChan
|
cliBuffer := <-cli.FrameChan
|
||||||
|
log.Printf("get from source bytes: %d", len(cliBuffer.BytesArray[0]))
|
||||||
err := enc.Encode(cliBuffer.BytesArray)
|
err := enc.Encode(cliBuffer.BytesArray)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Panic(err)
|
log.Panic(err)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user