SendLifecycle broadcasts a lifecycle event.
(projectName string, event api.EventLifecycle)
| 110 | |
| 111 | // SendLifecycle broadcasts a lifecycle event. |
| 112 | func (s *Server) SendLifecycle(projectName string, event api.EventLifecycle) { |
| 113 | _ = s.Send(projectName, api.EventTypeLifecycle, event) |
| 114 | } |
| 115 | |
| 116 | // Send broadcasts a custom event. |
| 117 | func (s *Server) Send(projectName string, eventType string, eventMessage any) error { |
no test coverage detected