From 374888c0d30bb39ee49d5055b31fc3b1dc67808d 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..12b86e0 100644 --- a/drpc.go +++ b/drpc.go @@ -19,6 +19,7 @@ var ( ) // Transport is an interface describing what is required for a drpc connection. +// Any net.Conn can be used as a Transport. type Transport interface { io.Reader io.Writer