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

Method Handle

znotify/notify_test.go:22–25  ·  view source on GitHub ↗
(req ziface.IRequest)

Source from the content-addressed store, hash-verified

20}
21
22func (r *router) Handle(req ziface.IRequest) {
23 id, _ := strconv.Atoi(string(req.GetData()))
24 nt.SetNotifyID(uint64(id), req.GetConnection())
25}
26
27func Server() {
28 s := znet.NewUserConfServer(&zconf.Config{

Callers

nothing calls this directly

Calls 3

GetDataMethod · 0.65
SetNotifyIDMethod · 0.65
GetConnectionMethod · 0.65

Tested by

no test coverage detected