func innerPush(uid string, uri string, args interface{}, bodyCodec byte) *erpc.Status {
	sess, stat := logic.WebSocketHooks().GetSession(outerPeer, uid)
	if stat != nil {
		return stat
	}
	return sess.Push(uri, args, erpc.WithBodyCodec(bodyCodec))
}
innerPush pushes the message to the specified user.
package websocket
import (
	"strings"
	"sync"
	_ "unsafe"
	"github.com/henrylee2cn/erpc/v6"
	"github.com/xiaoenai/tp-micro/v6/gateway/logic"
	"github.com/xiaoenai/tp-micro/v6/gateway/types"
)
type Gw struct {
	erpc.CallCtx
}
func wsTotalConn() int32 {
	if outerPeer == nil {
		return 0
	}
	return int32(outerPeer.CountSession())
}
func (g *Gw) WsTotal(*types.WsTotalArgs) (*types.WsTotalReply, *erpc.Status) {
	return &types.WsTotalReply{ConnTotal: wsTotalConn()}, nil
}