Skip to content

Commit

Permalink
Add initial scp downloader implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
leighmacdonald committed Apr 20, 2024
1 parent 9f8312f commit 375d5ab
Show file tree
Hide file tree
Showing 6 changed files with 282 additions and 43 deletions.
8 changes: 4 additions & 4 deletions go.mod

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

45 changes: 6 additions & 39 deletions go.sum

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions internal/cmd/serve.go
Original file line number Diff line number Diff line change
Expand Up @@ -274,6 +274,9 @@ func serveCmd() *cobra.Command { //nolint:maintidx
stateUsecase.LogAddressAdd(ctx, conf.Debug.AddRCONLogAddress)
}

demoFetcher := demo.NewDemoFetcher(configUsecase, serversUsecase)
go demoFetcher.Start(ctx)

httpServer := httphelper.NewHTTPServer(conf.HTTP.TLS, conf.HTTP.Addr(), router)

go func() {
Expand Down
Loading

0 comments on commit 375d5ab

Please sign in to comment.