Skip to content

API Reference

This section contains detailed API documentation for all Tokamak modules. For tutorials and guides, see the Guide section.

Core Framework

Server

HTTP server implementation with dependency injection integration. Built on top of http.zig for high-performance request handling.

Routing

Express-inspired routing system with path parameters, wildcards, and nested routes.

Dependency Injection

Compile-time dependency injection container with automatic resolution and lifecycle management.

Command-Line Interface

CLI

Type-safe CLI framework with automatic argument parsing and dependency injection.

TUI

Terminal UI components for building interactive command-line applications.

Utilities

Time

Rata Die-based calendar library for date and time manipulation with UTC support.

Process Monitoring

Monitoring and observability utilities for tracking application health and performance.