You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
415 B

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
}