feat: add blobstore to salty

This commit is contained in:
Jon Lundy
2023-01-28 10:35:46 -07:00
parent 0f504a98e9
commit 3f3ea4439c
9 changed files with 461 additions and 167 deletions

View File

@@ -21,12 +21,12 @@ func main() {
<-ctx.Done()
defer cancel() // restore interrupt function
}()
if err := Run(ctx); err != nil {
if err := run(ctx); err != nil {
log.Fatal(err)
os.Exit(1)
}
}
func Run(ctx context.Context) error {
func run(ctx context.Context) error {
svc := &service.Harness{}
ctx, stop := lg.Init(ctx, appName)
svc.OnStop(stop)