Broker /amp/client route (AMP cache client registration).

This commit is contained in:
David Fifield 2021-07-18 23:37:41 -06:00
parent 5adb994028
commit e833119bef
3 changed files with 154 additions and 2 deletions

View file

@ -218,6 +218,8 @@ func main() {
http.Handle("/metrics", MetricsHandler{metricsFilename, metricsHandler})
http.Handle("/prometheus", promhttp.HandlerFor(ctx.metrics.promMetrics.registry, promhttp.HandlerOpts{}))
http.Handle("/amp/client/", SnowflakeHandler{i, ampClientOffers})
server := http.Server{
Addr: addr,
}