master
client.handleReadMsg
func (c *client) handleReadMsg(message []byte) { m := shared.Message{} if err := json.Unmarshal(message, &m); err != nil { logrus.Errorln(err) return