MCPcopy Create free account
hub / github.com/datastax/cql-proxy / Event

Method Event

proxycore/mockcluster.go:375–381  ·  view source on GitHub ↗
(evt message.Event)

Source from the content-addressed store, hash-verified

373}
374
375func (s *MockServer) Event(evt message.Event) {
376 s.clients.Range(func(key, _ interface{}) bool {
377 cl := key.(*MockClient)
378 cl.events <- evt
379 return true
380 })
381}
382
383func (s *MockServer) copyPeers() []MockHost {
384 s.mu.Lock()

Callers 3

AddMethod · 0.95
RemoveMethod · 0.95

Calls

no outgoing calls

Tested by 1