MCPcopy
hub / github.com/davyxu/cellnet / init

Function init

rpc/msg_gen.go:110–122  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

108}
109
110func init() {
111
112 cellnet.RegisterMessageMeta(&cellnet.MessageMeta{
113 Codec: codec.MustGetCodec("protoplus"),
114 Type: reflect.TypeOf((*RemoteCallREQ)(nil)).Elem(),
115 ID: 58645,
116 })
117 cellnet.RegisterMessageMeta(&cellnet.MessageMeta{
118 Codec: codec.MustGetCodec("protoplus"),
119 Type: reflect.TypeOf((*RemoteCallACK)(nil)).Elem(),
120 ID: 20476,
121 })
122}

Callers

nothing calls this directly

Calls 2

RegisterMessageMetaFunction · 0.92
MustGetCodecFunction · 0.92

Tested by

no test coverage detected