func NewSys(sessionPool session.SessionPool) *Sys {
	return &Sys{sessionPool: sessionPool}
}
NewSys returns a new Sys instance
package remote
import (
	"context"
	"github.com/topfreegames/pitaya/v2/component"
	"github.com/topfreegames/pitaya/v2/constants"
	"github.com/topfreegames/pitaya/v2/protos"
	"github.com/topfreegames/pitaya/v2/session"
)
type Sys struct {
	component.Base
	sessionPool session.SessionPool
}