mirror of
https://github.com/CPunch/gopenfusion.git
synced 2024-11-14 03:50:05 +00:00
CPunch
1357de99aa
- protocol: added GenSerialKey() which securely generates an EnterSerialKey - login server accepts a shard via LoginServer.AddShard() - login server will pass LoginMetaData to the selected shard via ShardServer.QueueLogin() - misc. refactoring
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 }
|