A serverless functions for internal interaction with @daeuniverse
Export GITHUB_TOKEN as environment variable
export GITHUB_TOKEN=<token>
# ONLY needed for workflow routes
# export AUTH_TOKEN=<token>go run main.go- healthcheck -
/GET localhost:5888/api/v2/health - fetch geodata(geosite.dat) -
/GET localhost:5888/api/v2/geodata?file=geosite.dat - fetch geodata(geoip.dat) -
/GET localhost:5888/api/v2/geodata?file=geoip.dat - trigger daed-pick-build -
/POST localhost:5888/api/v2/workflow?name=daed-pick-build&daed=main&wing=origin/main&dae=origin/main