MCPcopy Create free account
hub / github.com/CyCoreSystems/ari-proxy / pingHandler

Method pingHandler

server/server.go:297–301  ·  view source on GitHub ↗

pingHandler publishes the server's presence

()

Source from the content-addressed store, hash-verified

295
296// pingHandler publishes the server's presence
297func (s *Server) pingHandler() {
298 if s.ari.Connected() {
299 s.announce()
300 }
301}
302
303// publish sends a message out over MessageBus, logging any error
304func (s *Server) publish(subject string, msg *proxy.Response) {

Callers

nothing calls this directly

Calls 2

announceMethod · 0.95
ConnectedMethod · 0.80

Tested by

no test coverage detected