MCPcopy
hub / github.com/aceld/zinx / Pack

Method Pack

znet/server_test.go:178–181  ·  view source on GitHub ↗
(msg ziface.IMessage)

Source from the content-addressed store, hash-verified

176}
177
178func (d *DemoPacket) Pack(msg ziface.IMessage) ([]byte, error) {
179 time.Sleep(time.Second * 1)
180 return d.DataPack.Pack(msg)
181}
182
183func (br *CloseConnectionBeforeSendMsgRouter) Handle(req ziface.IRequest) {
184 connection := req.GetConnection()

Callers

nothing calls this directly

Calls 1

PackMethod · 0.65

Tested by

no test coverage detected