mirror of
https://github.com/lukaszraczylo/traefik-llmgateway.git
synced 2026-10-12 04:54:45 +00:00
cmd/gateway runs the middleware as its own HTTP server behind Traefik. It reads a YAML config, converts it to JSON and decodes it with DisallowUnknownFields, so a misspelled key stops startup. It warns when metrics.allowedCIDRs is set, because behind a proxy the source address is the proxy's. The Makefile gains build-binary, docker-build and run-local targets. The Dockerfile builds from the committed vendor tree and stamps main.version from the VERSION build argument. go.mod lists go.yaml.in/yaml/v3 as a direct dependency. Claude-Session: https://claude.ai/code/session_01V5jYJNxpDFdJkyyExpADrv
11 lines
192 B
AMPL
11 lines
192 B
AMPL
module github.com/lukaszraczylo/traefik-llmgateway
|
|
|
|
go 1.22
|
|
|
|
require (
|
|
github.com/lukaszraczylo/oss-telemetry v0.2.3
|
|
github.com/stretchr/testify v1.12.1
|
|
)
|
|
|
|
require go.yaml.in/yaml/v3 v3.0.5
|