Skip to content

daeuniverse/functions

Repository files navigation

Functions

Intro

A serverless functions for internal interaction with @daeuniverse

Prerequisites

Export GITHUB_TOKEN as environment variable

export GITHUB_TOKEN=<token>
# ONLY needed for workflow routes
# export AUTH_TOKEN=<token>

How to use

go run main.go

API Comsumption

  • 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

References

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages