mirror of
https://github.com/GopeedLab/gopeed.git
synced 2026-11-05 16:15:43 +00:00
17 lines
205 B
Go
17 lines
205 B
Go
package message
|
|
|
|
// keep-alive: <len=0000>
|
|
type Keepalive struct {
|
|
*base
|
|
}
|
|
|
|
var data = make([]byte, 4)
|
|
|
|
func (k *Keepalive) Encode() []byte {
|
|
return data
|
|
}
|
|
|
|
func (k *Keepalive) Decode(body []byte) {
|
|
|
|
}
|