Versions in this module Expand all Collapse all v0 v0.1.3 Jul 4, 2026 v0.1.1 Jun 25, 2026 Changes in this version + func TracingMiddleware(next http.Handler) http.Handler + type Config struct + APIKey string + Analytics storage.AnalyticsStore + HealthChecker *eyrie.HealthChecker + Port int + Provider client.Provider + Reranker Reranker + Store storage.Store + VirtualKeyResolver func(token string) string + type Reranker interface + Rerank func(ctx context.Context, model, query string, documents []string) ([]float64, error) + type Server struct + func NewServer(cfg Config) *Server + func (s *Server) ListenAndServe(addr string) error + func (s *Server) RecordCost(rec *storage.CostRecord) + func (s *Server) ServeHTTP(w http.ResponseWriter, r *http.Request) + func (s *Server) Shutdown() error