package runtime import ( "context" "github.com/qsfera/server/qsfera/pkg/runtime/service" "github.com/qsfera/server/pkg/config" ) // Runtime represents a КуСфера runtime environment. type Runtime struct { c *config.Config } // New creates a new КуСфера + micro runtime func New(cfg *config.Config) Runtime { return Runtime{ c: cfg, } } // Start rpc runtime func (r *Runtime) Start(ctx context.Context) error { return service.Start(ctx, service.WithConfig(r.c)) }