MCPcopy Create free account
hub / github.com/chronoxor/FastBinaryEncoding / Check

Method Check

projects/Go/tests/send_receive_test.go:37–37  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35}
36
37func (r *MyReceiver) Check() bool { return r.order && r.balance && r.account }
38
39func (r *MyReceiver) OnReceiveOrderMessage(value *proto.OrderMessage) { r.order = true }
40func (r *MyReceiver) OnReceiveBalanceMessage(value *proto.BalanceMessage) { r.balance = true }

Callers 1

SendAndReceiveFunction · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected