Skip to content

Commit

Permalink
Refactor codec to match capnp.Encoder/Decoder method signatures.
Browse files Browse the repository at this point in the history
Eschew functional options in favor of new constructor functions.

See:  #161
  • Loading branch information
lthibault committed Feb 21, 2021
1 parent 38a8725 commit f19dca3
Show file tree
Hide file tree
Showing 4 changed files with 171 additions and 133 deletions.
41 changes: 0 additions & 41 deletions rpc/codec.go

This file was deleted.

2 changes: 1 addition & 1 deletion rpc/rpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (
"sync"
"time"

capnp "zombiezen.com/go/capnproto2"
"zombiezen.com/go/capnproto2"
"zombiezen.com/go/capnproto2/internal/errors"
rpccp "zombiezen.com/go/capnproto2/std/capnp/rpc"
)
Expand Down
Loading

0 comments on commit f19dca3

Please sign in to comment.