introduce ProtocolSender interface
This commit is contained in:
1 parent
76e44afdea
commit
c6f5e7ec94
2 files changed
+5
-1
No files matched your search
@@ -21,3 +21,7 @@ type ProtocolMsg struct {
|
||||
tag ProtocolTag
|
||||
msg []byte
|
||||
}
|
||||
|
||||
type ProtocolSender interface {
|
||||
SendProtocolMsg(m ProtocolMsg)
|
||||
}
|
||||
Reference in new issue
Block a user