small cleanput and switch to sentinel

This commit is contained in:
Zoe
2025-05-16 03:23:47 +00:00
parent c31f070b46
commit a6f4782518
11 changed files with 69 additions and 213 deletions

View File

@@ -33,7 +33,6 @@ func init() {
type Plugin interface {
Init() (*fiber.Config, error)
RegisterRoutes(app fiber.Router)
// Name() string
}
type PluginInstance struct {
@@ -43,12 +42,6 @@ type PluginInstance struct {
Router *fiber.App
}
// Init is the entry point for a container process
func (p *PluginInstance) Run(pluginName string) {
log.Printf("Starting container with plugin %s", pluginName)
// Load and initialize the plugin here
}
func main() {
signalChan := make(chan os.Signal, 1)
signal.Notify(signalChan, os.Interrupt)