func NewBroadcast(message, body string) (packet []byte, err error) {
	res := _resPool.Get().(*Response)
	res.reset()
	res.Message = message
	res.Body = body
	payload, err := json.Marshal(res)
	if err != nil {
		return nil, err
	}
	_resPool.Put(res)
	packet = NewFrameText(false, payload)
	return packet, nil
}
NewBroadcast create a new message for broadcast by server encoded as JSON
and wrapped in TEXT frame.
package websocket
import (
	"encoding/json"
	"sync"
)
var (
	_resPool = sync.Pool{
		New: func() interface{} {
			return new(Response)
		},
	}
)
type Response struct {
	ID      uint64 `json:"id"`
	Code    int32  `json:"code"`
	Message string `json:"message"`
	Body    string `json:"body"`
}