func (app *App) Register(c component.Component, options ...component.Option) {
	app.handlerComp = append(app.handlerComp, regComp{c, options})
}
Register register a component with options
package pitaya
import (
	"github.com/topfreegames/pitaya/v2/component"
	"github.com/topfreegames/pitaya/v2/logger"
)
type regComp struct {
	comp component.Component
	opts []component.Option
}