为了将通知推送到客户端,我想添加一个websocket连接。org.springframework.web.client.ResourceAccessException: I/O error on GET request for "http://localhost:9090/websocketrefused); nested exception is java.net.ConnectException: Connection refused (Connection refused)
我的Websock
type ConnectedSocketsContainerType struct { ConnectedSockets map[string]*websocket.Conn(*websocket.Conn) if c == nil {
// that line is not printed, c is not nilerr := c.WriteMessage(websocket.TextMessage, []byte(&