Files
catalog-service/src/app/interface.go
Piotr Biernat 488ee1f92b
Some checks failed
ci/woodpecker/push/workflow Pipeline failed
Added base woodpecker task
2025-11-04 21:40:38 +01:00

17 lines
266 B
Go

package app
type (
Application interface {
Start()
RegisterPlugin(Plugin)
Shutdown()
}
WorkerInterface interface { // its process inside Application, not RabbitMQ Worker...
Start() error
OnShutdown()
addPlugin(name string, fn PluginConnectFn)
}
)