tendermint/peer/msg.go

31 lines
415 B
Go
Raw Normal View History

2014-06-24 17:28:40 -07:00
package peer
/* Msg */
type Msg struct {
Bytes ByteSlice
Hash ByteSlice
}
/* InboundMsg */
type InboundMsg struct {
Peer *Peer
Channel *Channel
Time Time
Msg
}
/* NewFilterMsg */
type NewFilterMsg struct {
ChName String
Filter Filter
}
func (m *NewFilterMsg) WriteTo(w io.Writer) (int64, error) {
return 0, nil // TODO
}