mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-14 12:00:05 +00:00
10 lines
216 B
Go
10 lines
216 B
Go
|
package server
|
||
|
|
||
|
import (
|
||
|
"github.com/CPunch/gopenfusion/protocol"
|
||
|
)
|
||
|
|
||
|
type PacketHandler func(peer *Peer, pkt protocol.Packet) error
|
||
|
|
||
|
func stubbedPacket(_ *Peer, _ protocol.Packet) error { /* stubbed */ return nil }
|