Skip to content

Commit

Permalink
drpc: add comment on interface Transport
Browse files Browse the repository at this point in the history
Was reading the code and this didn't click at first, so a comment might help.
  • Loading branch information
Erikvv committed Oct 12, 2021
1 parent a3f0249 commit 7decd61
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions drpc.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ var (
)

// Transport is an interface describing what is required for a drpc connection.
// Transport is a supertype of net.Conn.
type Transport interface {
io.Reader
io.Writer
Expand Down

0 comments on commit 7decd61

Please sign in to comment.