spread

https://git.tonybtw.com/spread.git git://git.tonybtw.com/spread.git
337 bytes raw
1
// Package handler is the Vercel Go serverless function for POST /api/analyze.
2
// All logic lives in the shared spread package; this is just the entrypoint
3
// Vercel's Go runtime discovers.
4
package handler
5
6
import (
7
	"net/http"
8
9
	"spread/internal/spread"
10
)
11
12
func Handler(w http.ResponseWriter, r *http.Request) {
13
	spread.Handler(w, r)
14
}