我正在跟踪gorilla 提供的chat example。 我仍然可以解码发送的json数据。我应该在 readPump() 中这样做吗? func (c *ChatClient) readPump() { defer func() { c.hub ...
確定! 回上一頁