announce publishes the presence of this server to the cluster
()
| 261 | |
| 262 | // announce publishes the presence of this server to the cluster |
| 263 | func (s *Server) announce() { |
| 264 | s.publishAnnounce(proxy.AnnouncementSubject(s.MBPrefix), &proxy.Announcement{ |
| 265 | Node: s.AsteriskID, |
| 266 | Application: s.Application, |
| 267 | }) |
| 268 | } |
| 269 | |
| 270 | // runEventHandler processes events which are received from ARI |
| 271 | func (s *Server) runEventHandler(ctx context.Context) { |
no test coverage detected