From 524adb317942c364a2fd2162b46fef5f7ed6d34a Mon Sep 17 00:00:00 2001 From: Erik van Velzen Date: Mon, 4 Oct 2021 17:38:19 +0200 Subject: [PATCH] drpc: add comment on interface Transport Was reading the code and this didn't click at first, so a comment might help. --- drpc.go | 1 + 1 file changed, 1 insertion(+) diff --git a/drpc.go b/drpc.go index 16f7697..11bec04 100644 --- a/drpc.go +++ b/drpc.go @@ -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