2024-09-27 22:37:58 +00:00
|
|
|
package main
|
|
|
|
|
2024-10-10 21:36:51 +00:00
|
|
|
import (
|
|
|
|
"context"
|
|
|
|
|
|
|
|
"git.optclblast.xyz/draincloud/draincloud-core/internal/app"
|
2024-10-19 23:05:34 +00:00
|
|
|
"git.optclblast.xyz/draincloud/draincloud-core/internal/plugin"
|
2024-10-10 21:36:51 +00:00
|
|
|
)
|
2024-09-27 22:37:58 +00:00
|
|
|
|
2024-10-10 21:36:51 +00:00
|
|
|
func main() {
|
2024-10-19 23:05:34 +00:00
|
|
|
ctx := context.Background()
|
|
|
|
ps := plugin.NewPluginStore()
|
|
|
|
pl := plugin.MustNewPluginLoader(ctx, 8081, ps)
|
|
|
|
pl.Run(ctx)
|
2024-10-10 21:36:51 +00:00
|
|
|
app.New().Run(context.TODO())
|
2024-09-27 22:37:58 +00:00
|
|
|
}
|