new: feat: add comando torrents indexer

This commit is contained in:
2023-09-22 23:50:22 +00:00
parent 097ec54768
commit f1577a3012
4 changed files with 211 additions and 2 deletions

View File

@@ -4,12 +4,14 @@ import (
"net/http"
handler "github.com/felipemarinho97/vercel-lambdas/api"
"github.com/felipemarinho97/vercel-lambdas/api/indexers"
"github.com/felipemarinho97/vercel-lambdas/api/statusinvest"
)
func main() {
http.HandleFunc("/", handler.HandlerIndex)
http.HandleFunc("/statusinvest/companies", statusinvest.HandlerListCompanies)
http.HandleFunc("/indexers/comando_torrents", indexers.HandlerComandoIndexer)
err := http.ListenAndServe(":7006", nil)
if err != nil {