MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / Run

Method Run

IceFireDB-Redis-Proxy/proxy/proxy.go:134–142  ·  view source on GitHub ↗
(ctx context.Context, errSignal chan error)

Source from the content-addressed store, hash-verified

132}
133
134func (p *Proxy) Run(ctx context.Context, errSignal chan error) {
135 go func() {
136 select {
137 case <-ctx.Done():
138 _ = p.server.Close()
139 }
140 }()
141 _ = p.server.ListenServeAndSignal(errSignal)
142}

Callers 15

TestSaddFunction · 0.45
TestSismemberFunction · 0.45
TestSremFunction · 0.45
TestSpopFunction · 0.45
TestSrandmemberFunction · 0.45
TestSscanFunction · 0.45
TestSortedSetFunction · 0.45
TestSortedSetAddFunction · 0.45
TestSortedSetRangeFunction · 0.45
TestSortedSetRemFunction · 0.45

Calls 2

DoneMethod · 0.80
CloseMethod · 0.65

Tested by 15

TestSaddFunction · 0.36
TestSismemberFunction · 0.36
TestSremFunction · 0.36
TestSpopFunction · 0.36
TestSrandmemberFunction · 0.36
TestSscanFunction · 0.36
TestSortedSetFunction · 0.36
TestSortedSetAddFunction · 0.36
TestSortedSetRangeFunction · 0.36
TestSortedSetRemFunction · 0.36