Nexus

Go Packages

Package reference for all Nexus Go packages.

Core

PackageImportDescription
nexusgithub.com/xraph/nexusGateway, Engine, Config, Options
idgithub.com/xraph/nexus/idTypeID prefixes and constructors
plugingithub.com/xraph/nexus/pluginExtension interfaces and Registry

Providers

PackageImportDescription
providergithub.com/xraph/nexus/providerProvider interface, Request/Response
openaigithub.com/xraph/nexus/providers/openaiOpenAI provider
anthropicgithub.com/xraph/nexus/providers/anthropicAnthropic provider
opencompatgithub.com/xraph/nexus/providers/opencompatOpenAI-compatible provider

Pipeline

PackageImportDescription
pipelinegithub.com/xraph/nexus/pipelineMiddleware chain builder
middlewaresgithub.com/xraph/nexus/pipeline/middlewaresBuilt-in middleware
routergithub.com/xraph/nexus/routerRouting service
strategiesgithub.com/xraph/nexus/router/strategiesRouting strategies

Features

PackageImportDescription
guardgithub.com/xraph/nexus/guardGuardrail interface and service
guardsgithub.com/xraph/nexus/guard/guardsBuilt-in guards
cachegithub.com/xraph/nexus/cacheCache interface and service
storesgithub.com/xraph/nexus/cache/storesCache backends
transformgithub.com/xraph/nexus/transformInput/output transforms
modelgithub.com/xraph/nexus/modelAlias registry and token counting

Infrastructure

PackageImportDescription
storegithub.com/xraph/nexus/storePersistence interface
memorygithub.com/xraph/nexus/store/memoryIn-memory store
sqlitegithub.com/xraph/nexus/store/sqliteSQLite store
postgresgithub.com/xraph/nexus/store/postgresPostgreSQL store
tenantgithub.com/xraph/nexus/tenantTenant entity and service
keygithub.com/xraph/nexus/keyAPI key management
usagegithub.com/xraph/nexus/usageUsage tracking
authgithub.com/xraph/nexus/authAuth provider interface

Extensions

PackageImportDescription
audit_hookgithub.com/xraph/nexus/audit_hookAudit event recording
observabilitygithub.com/xraph/nexus/observabilityMetrics and tracing
relay_hookgithub.com/xraph/nexus/relay_hookWebhook relay
extensiongithub.com/xraph/nexus/extensionForge extension adapter

Utilities

PackageImportDescription
proxygithub.com/xraph/nexus/proxyOpenAI-compatible HTTP proxy
apigithub.com/xraph/nexus/apiForge HTTP handlers
fallbackgithub.com/xraph/nexus/fallbackCircuit breaking and retry
batchgithub.com/xraph/nexus/batchBatch processing
mcpgithub.com/xraph/nexus/mcpModel Context Protocol

On this page