small cleanput and switch to sentinel
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user