Directories
¶
| Path | Synopsis |
|---|---|
|
Package auditlog provides audit logging for the AI gateway.
|
Package auditlog provides audit logging for the AI gateway. |
|
Package batch provides persistence for OpenAI-compatible batch lifecycle endpoints.
|
Package batch provides persistence for OpenAI-compatible batch lifecycle endpoints. |
|
Package cache provides a generic key-value store abstraction.
|
Package cache provides a generic key-value store abstraction. |
|
modelcache
Package modelcache provides model-specific cache types and interfaces.
|
Package modelcache provides model-specific cache types and interfaces. |
|
Package config provides configuration management for the application.
|
Package config provides configuration management for the application. |
|
Package core provides core types and interfaces for the LLM gateway.
|
Package core provides core types and interfaces for the LLM gateway. |
|
docs
|
|
|
2026-03-23_benchmark_scripts/gateway-comparison/mock-backend
command
Mock OpenAI-compatible backend server for benchmarking AI gateways.
|
Mock OpenAI-compatible backend server for benchmarking AI gateways. |
|
2026-03-23_benchmark_scripts/gateway-comparison/stream-bench
command
Streaming SSE benchmark tool.
|
Streaming SSE benchmark tool. |
|
about/benchmark-tools
command
|
|
|
Package gateway contains transport-independent gateway use cases.
|
Package gateway contains transport-independent gateway use cases. |
|
Package guardrails provides a pluggable pipeline for request-level guardrails.
|
Package guardrails provides a pluggable pipeline for request-level guardrails. |
|
Package httpclient provides a centralized HTTP client factory with unified configuration.
|
Package httpclient provides a centralized HTTP client factory with unified configuration. |
|
Package llmclient provides a base HTTP client for LLM providers with: - Request marshaling/unmarshaling - Retries with exponential backoff and jitter - Standardized error parsing (429, 502, 503, 504) - Circuit breaking with half-open state protection
|
Package llmclient provides a base HTTP client for LLM providers with: - Request marshaling/unmarshaling - Retries with exponential backoff and jitter - Standardized error parsing (429, 502, 503, 504) - Circuit breaking with half-open state protection |
|
Package modeldata provides fetching, parsing, and merging of the external AI model metadata registry (models.json) for enriching GoModel's model data.
|
Package modeldata provides fetching, parsing, and merging of the external AI model metadata registry (models.json) for enriching GoModel's model data. |
|
Package observability provides instrumentation for metrics, tracing, and logging.
|
Package observability provides instrumentation for metrics, tracing, and logging. |
|
Package providers provides a factory for creating provider instances.
|
Package providers provides a factory for creating provider instances. |
|
anthropic
Package anthropic provides Anthropic API integration for the LLM gateway.
|
Package anthropic provides Anthropic API integration for the LLM gateway. |
|
gemini
Package gemini provides Google Gemini API integration for the LLM gateway.
|
Package gemini provides Google Gemini API integration for the LLM gateway. |
|
groq
Package groq provides Groq API integration for the LLM gateway.
|
Package groq provides Groq API integration for the LLM gateway. |
|
minimax
Package minimax provides MiniMax API integration for the LLM gateway.
|
Package minimax provides MiniMax API integration for the LLM gateway. |
|
ollama
Package ollama provides Ollama API integration for the LLM gateway.
|
Package ollama provides Ollama API integration for the LLM gateway. |
|
openai
Package openai provides OpenAI API integration for the LLM gateway.
|
Package openai provides OpenAI API integration for the LLM gateway. |
|
vllm
Package vllm provides vLLM OpenAI-compatible API integration for the LLM gateway.
|
Package vllm provides vLLM OpenAI-compatible API integration for the LLM gateway. |
|
xai
Package xai provides xAI (Grok) API integration for the LLM gateway.
|
Package xai provides xAI (Grok) API integration for the LLM gateway. |
|
zai
Package zai provides Z.ai API integration for the LLM gateway.
|
Package zai provides Z.ai API integration for the LLM gateway. |
|
Package responsestore provides persistence for OpenAI-compatible Responses lifecycle endpoints.
|
Package responsestore provides persistence for OpenAI-compatible Responses lifecycle endpoints. |
|
Package storage provides shared database connections for all features.
|
Package storage provides shared database connections for all features. |
|
tests
|
|
|
contract
Package contract provides contract tests that validate API response structures against recorded golden files.
|
Package contract provides contract tests that validate API response structures against recorded golden files. |
|
Package tools pins developer tooling dependencies used by this repository.
|
Package tools pins developer tooling dependencies used by this repository. |
|
Package usage provides token usage tracking for the AI gateway.
|
Package usage provides token usage tracking for the AI gateway. |
Click to show internal directories.
Click to hide internal directories.