Finish implementation of RPC.

This commit is contained in:
Christian Schwarz
2017-04-16 21:38:31 +02:00
parent c1aed10e8b
commit 4494afe47f
4 changed files with 139 additions and 17 deletions

View File

@ -15,8 +15,8 @@ type Unchunker struct {
remainingChunkBytes uint32
}
func NewUnchunker(conn io.Reader) Unchunker {
return Unchunker{
func NewUnchunker(conn io.Reader) *Unchunker {
return &Unchunker{
in: conn,
remainingChunkBytes: 0,
}