package runtime import ( "edge-infra.dev/pkg/lib/runtime/manager" "edge-infra.dev/pkg/lib/runtime/manager/signals" "edge-infra.dev/pkg/lib/runtime/subscriber" ) type Options manager.Options type SubOptions subscriber.Options var ( // NewManager returns a new default Manager for creating Edge apps NewManager = manager.New // NewSubscriber returns a subscriber runnabled NewSubscriber = subscriber.New // SetupSignalHandler registered for SIGTERM and SIGINT. A stop channel is returned // which is closed on one of these signals. If a second signal is caught, the program // is terminated with exit code 1. SetupSignalHandler = signals.SetupSignalHandler )