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

Function newFakeService

kayak/runtime_test.go:157–166  ·  view source on GitHub ↗
(rt *kayak.Runtime)

Source from the content-addressed store, hash-verified

155}
156
157func newFakeService(rt *kayak.Runtime) (fs *fakeService) {
158 fs = &fakeService{
159 rt: rt,
160 s: rpc.NewServer(),
161 }
162
163 fs.s.RegisterName("Test", fs)
164
165 return
166}
167
168func (s *fakeService) Apply(req *kt.ApplyRequest, resp *interface{}) (err error) {
169 // add some delay for timeout test

Callers 2

TestRuntimeFunction · 0.85
BenchmarkRuntimeFunction · 0.85

Calls 1

NewServerFunction · 0.92

Tested by

no test coverage detected