mirror of
https://github.com/fumiama/WireGold.git
synced 2026-06-04 23:40:26 +08:00
13 lines
255 B
Go
13 lines
255 B
Go
package data
|
|
|
|
import (
|
|
"github.com/fumiama/WireGold/gold/head"
|
|
"github.com/fumiama/WireGold/gold/link"
|
|
)
|
|
|
|
func init() {
|
|
link.RegisterDispacher(head.ProtoData, func(header *head.Packet, peer *link.Link, data []byte) {
|
|
peer.ToLower(header, data)
|
|
})
|
|
}
|