MCPcopy Index your code
hub / github.com/CovenantSQL/CovenantSQL / IncCounterSimpleArgs

Method IncCounterSimpleArgs

rpc/mux/server_test.go:99–107  ·  view source on GitHub ↗
(step int32, ret *int32)

Source from the content-addressed store, hash-verified

97}
98
99func (s *TestService) IncCounterSimpleArgs(step int32, ret *int32) error {
100 log.WithFields(log.Fields{
101 "req": step,
102 "reply": ret,
103 }).Debug("calling IncCounter")
104 *ret = atomic.AddInt32(&s.counter, step)
105
106 return nil
107}
108
109func TestIncCounter(t *testing.T) {
110 log.SetLevel(log.FatalLevel)

Callers

nothing calls this directly

Calls 2

WithFieldsFunction · 0.92
DebugMethod · 0.80

Tested by

no test coverage detected