diff --git a/transport/transport.go b/transport/transport.go index bee330d4..4967c81a 100644 --- a/transport/transport.go +++ b/transport/transport.go @@ -11,11 +11,11 @@ type Message struct { } type Socket interface { - Local() string - Remote() string Recv(*Message) error Send(*Message) error Close() error + Local() string + Remote() string } type Client interface {