20 lines
314 B
Go
20 lines
314 B
Go
package main
|
|
|
|
import (
|
|
"context"
|
|
"time"
|
|
|
|
"git.kocoder.xyz/kocoded/vt/core"
|
|
"git.kocoder.xyz/kocoded/vt/integration"
|
|
)
|
|
|
|
func main() {
|
|
ctx, cancel := context.WithTimeout(context.Background(), time.Second*15)
|
|
defer cancel()
|
|
|
|
app := core.Main(func(*integration.IntegrationHandler) {})
|
|
app.Stop(ctx)
|
|
|
|
return
|
|
}
|