introduce ProtocolSender interface

This commit is contained in:
Matthias Radestock committed 2015-01-20 23:41:42 +00:00
1 parent 76e44afdea
commit c6f5e7ec94
2 files changed
+5 -1

No files matched your search

+4
View File
@@ -21,3 +21,7 @@ type ProtocolMsg struct {
tag ProtocolTag
msg []byte
}
type ProtocolSender interface {
SendProtocolMsg(m ProtocolMsg)
}