# 💧 Mizu ## Docs - [Overview](https://docs.go-mizu.dev/cli/api/overview.md): Production-ready JSON API with feature-based organization - [Structure](https://docs.go-mizu.dev/cli/api/structure.md): Understanding every file in the API template - [Tutorial](https://docs.go-mizu.dev/cli/api/tutorial.md): Build a complete REST API from scratch - [Contract](https://docs.go-mizu.dev/cli/contract.md): Work with service contracts - list methods, call APIs, and export specs - [Overview](https://docs.go-mizu.dev/cli/contract-template/overview.md): Multi-protocol service with REST, JSON-RPC, and OpenAPI - [Structure](https://docs.go-mizu.dev/cli/contract-template/structure.md): Understanding the contract template file organization - [Tutorial](https://docs.go-mizu.dev/cli/contract-template/tutorial.md): Build a multi-protocol API service - [Dev](https://docs.go-mizu.dev/cli/dev.md): Run your Mizu project in development mode - [Exit Codes](https://docs.go-mizu.dev/cli/exit-codes.md): CLI exit codes for scripting and automation - [Flags](https://docs.go-mizu.dev/cli/global-flags.md): Flags available on all Mizu CLI commands - [Installation](https://docs.go-mizu.dev/cli/installation.md): Step-by-step guide to install the Mizu CLI on macOS, Linux, and Windows - [JSON Output](https://docs.go-mizu.dev/cli/json-output.md): Machine-readable JSON output format for automation - [Overview](https://docs.go-mizu.dev/cli/live/overview.md): Real-time interactive applications with WebSockets - [Structure](https://docs.go-mizu.dev/cli/live/structure.md): Understanding the live template organization - [Tutorial](https://docs.go-mizu.dev/cli/live/tutorial.md): Build a real-time counter application - [Overview](https://docs.go-mizu.dev/cli/minimal/overview.md): The simplest Mizu project - perfect for learning - [Structure](https://docs.go-mizu.dev/cli/minimal/structure.md): Understanding the files in a minimal Mizu project - [Tutorial](https://docs.go-mizu.dev/cli/minimal/tutorial.md): Build your first Mizu application from scratch - [New](https://docs.go-mizu.dev/cli/new.md): Create a new Mizu project from a template - [Overview](https://docs.go-mizu.dev/cli/overview.md): Learn what the Mizu CLI is and how it helps you build web applications faster - [Overview](https://docs.go-mizu.dev/cli/sync/overview.md): Offline-first application with data synchronization - [Structure](https://docs.go-mizu.dev/cli/sync/structure.md): Understanding the sync template organization - [Tutorial](https://docs.go-mizu.dev/cli/sync/tutorial.md): Build an offline-first todo app with data synchronization - [Templates](https://docs.go-mizu.dev/cli/templates.md): Choose the right template for your Mizu project - [Version](https://docs.go-mizu.dev/cli/version.md): Display version and build information about the Mizu CLI - [Overview](https://docs.go-mizu.dev/cli/web/overview.md): Full-stack web application with views and static assets - [Structure](https://docs.go-mizu.dev/cli/web/structure.md): Understanding the web template files - [Tutorial](https://docs.go-mizu.dev/cli/web/tutorial.md): Build a server-rendered website - [Reference](https://docs.go-mizu.dev/contract/api-reference.md): Complete reference for all Contract v2 functions, types, and options - [Architecture](https://docs.go-mizu.dev/contract/architecture.md): Understand how Contract works under the hood - a beginner-friendly deep dive - [Clients](https://docs.go-mizu.dev/contract/client-generation.md): Generate typed API clients in any language from your Contract services - [Error Codes](https://docs.go-mizu.dev/contract/error-codes.md): Complete guide to all Contract error codes and how they map to different protocols - [Errors](https://docs.go-mizu.dev/contract/errors.md): Learn how to handle errors in Contract APIs so they work correctly across all protocols - [Invokers](https://docs.go-mizu.dev/contract/invoker.md): Understand how Contract calls your methods efficiently at runtime - [JSON-RPC](https://docs.go-mizu.dev/contract/jsonrpc.md): Use JSON-RPC 2.0 for batch operations and RPC-style APIs - [MCP](https://docs.go-mizu.dev/contract/mcp.md): Connect your API to AI assistants like Claude using the Model Context Protocol - [Middleware](https://docs.go-mizu.dev/contract/middleware.md): Add logging, authentication, rate limiting, and other cross-cutting concerns to your API - [OpenAPI](https://docs.go-mizu.dev/contract/openapi.md): Generate API documentation automatically from your Contract services - [Overview](https://docs.go-mizu.dev/contract/overview.md): Learn what the Contract package is and how it helps you build APIs in Go with compile-time safety - [Quick Start](https://docs.go-mizu.dev/contract/quick-start.md): Build your first Contract API in 5 minutes - a step-by-step guide for beginners - [Registration](https://docs.go-mizu.dev/contract/register.md): Learn how to register services with Contract and understand all available options - [REST](https://docs.go-mizu.dev/contract/rest.md): Learn how to expose your Contract service as a RESTful HTTP API - [Go](https://docs.go-mizu.dev/contract/sdk-go.md): Generate zero-dependency, type-safe Go client libraries from your contract definitions - [Overview](https://docs.go-mizu.dev/contract/sdk-overview.md): Generate native, type-safe client SDKs in Go, Python, and TypeScript from your contract definitions - [Python](https://docs.go-mizu.dev/contract/sdk-python.md): Generate modern, type-safe Python client libraries with sync and async support from your contract definitions - [TypeScript](https://docs.go-mizu.dev/contract/sdk-typescript.md): Generate runtime-agnostic, fully-typed TypeScript client libraries from your contract definitions - [Services](https://docs.go-mizu.dev/contract/service.md): Learn how to design interfaces and implementations for Contract - the foundation of your API - [Testing](https://docs.go-mizu.dev/contract/testing.md): Learn how to test your Contract services - from unit tests to integration tests - [Overview](https://docs.go-mizu.dev/contract/transports-overview.md): Understand the different protocols Contract supports and choose the right one for your project - [Types](https://docs.go-mizu.dev/contract/types.md): Understand how Contract converts your Go types into JSON schemas for validation and documentation - [Hello, Mizu](https://docs.go-mizu.dev/examples/001-hello-mizu.md): Learn how to build your first web server with Mizu. - [Static Files](https://docs.go-mizu.dev/examples/002-static-files.md): Learn how to serve static HTML, CSS, and JS files. - [Routing Basics](https://docs.go-mizu.dev/examples/003-routing-basics.md): Learn how to define routes and handlers in Mizu. - [JSON Responses](https://docs.go-mizu.dev/examples/004-json-responses.md): Learn how to send JSON data from your routes. - [Context and Lifecycle](https://docs.go-mizu.dev/examples/005-context-lifecycle.md): Learn how to handle timeouts and cancellations safely. - [Query, Form, and Path Parameters](https://docs.go-mizu.dev/examples/006-query-form-path.md): Learn how to read query, form, and path data. - [Cookies](https://docs.go-mizu.dev/examples/007-cookies.md): Learn how to manage cookies data. - [Middleware Basics](https://docs.go-mizu.dev/examples/008-middleware-basics.md): Learn how to create and use middleware functions. - [Error Handling and Recover](https://docs.go-mizu.dev/examples/009-error-handling-recover.md): Learn how to handle and recover from errors. - [Logging with slog](https://docs.go-mizu.dev/examples/010-logging-with-slog.md): Learn how to add structured logging with slog. - [Overview](https://docs.go-mizu.dev/examples/overview.md) - [Framework Adapters](https://docs.go-mizu.dev/frontend/adapters.md): Framework-specific adapters with optimized defaults. - [Alpine](https://docs.go-mizu.dev/frontend/alpine.md): Add lightweight interactivity with Alpine.js and server-rendered HTML. - [Angular](https://docs.go-mizu.dev/frontend/angular.md): Build Angular applications with Mizu and TypeScript. - [API Integration](https://docs.go-mizu.dev/frontend/api-integration.md): Best practices for integrating frontend with Mizu backend APIs. - [API Reference](https://docs.go-mizu.dev/frontend/api-reference.md): Complete API reference for the frontend middleware. - [Building](https://docs.go-mizu.dev/frontend/building.md): Build and optimize your frontend for production deployment. - [Caching](https://docs.go-mizu.dev/frontend/caching.md): Comprehensive caching strategies for optimal performance. - [Configuration](https://docs.go-mizu.dev/frontend/configuration.md): Complete reference for frontend middleware configuration options. - [Development](https://docs.go-mizu.dev/frontend/development.md): How development mode works with hot reload and proxying. - [Embedded Filesystems](https://docs.go-mizu.dev/frontend/embed.md): Deploy single-binary applications with embedded frontend files. - [Environment Injection](https://docs.go-mizu.dev/frontend/env-injection.md): Inject server-side environment variables into your frontend. - [HTMX](https://docs.go-mizu.dev/frontend/htmx.md): Build hypermedia-driven applications with HTMX and server-rendered HTML. - [Build Manifest](https://docs.go-mizu.dev/frontend/manifest.md): Use build manifests for asset fingerprinting and module preloading. - [Minimal Setup](https://docs.go-mizu.dev/frontend/minimal-setup.md): Manually set up frontend integration without using templates. - [Next](https://docs.go-mizu.dev/frontend/next.md): Build Next.js applications with static export and Mizu backend. - [Nuxt](https://docs.go-mizu.dev/frontend/nuxt.md): Build Nuxt 3 applications with static generation and Mizu backend. - [Overview](https://docs.go-mizu.dev/frontend/overview.md): Build modern web applications with Mizu's comprehensive frontend integration. - [Common Patterns](https://docs.go-mizu.dev/frontend/patterns.md): Common patterns and recipes for frontend development with Mizu. - [Preact](https://docs.go-mizu.dev/frontend/preact.md): Build lightweight, blazing-fast Preact applications with Mizu. - [Production](https://docs.go-mizu.dev/frontend/production.md): Optimized static file serving for production deployments. - [Quick Start](https://docs.go-mizu.dev/frontend/quick-start.md): Create your first frontend application with Mizu in minutes. - [React](https://docs.go-mizu.dev/frontend/react.md): Build modern, high-performance React applications with Mizu, Vite, and TypeScript. - [React Router](https://docs.go-mizu.dev/frontend/reactrouter.md): Build modern, type-safe React applications with React Router v7, file-based routing, and Mizu backend. - [Security](https://docs.go-mizu.dev/frontend/security.md): Security headers and best practices for frontend applications. - [Service Workers](https://docs.go-mizu.dev/frontend/service-workers.md): Progressive Web App (PWA) support with service workers. - [SSR vs SPA](https://docs.go-mizu.dev/frontend/ssr-vs-spa.md): Understanding server-side rendering and single-page applications. - [Static Hosting](https://docs.go-mizu.dev/frontend/static-hosting.md): Deploy frontend to CDN and backend separately. - [Svelte](https://docs.go-mizu.dev/frontend/svelte.md): Build Svelte applications with Mizu, Vite, and TypeScript. - [SvelteKit](https://docs.go-mizu.dev/frontend/sveltekit.md): Build full-stack applications with SvelteKit and Mizu. - [Templates](https://docs.go-mizu.dev/frontend/templates.md): Available frontend templates and how to use them. - [Troubleshooting](https://docs.go-mizu.dev/frontend/troubleshooting.md): Common issues and solutions for frontend development with Mizu. - [Vue](https://docs.go-mizu.dev/frontend/vue.md): Build Vue 3 applications with Mizu, Vite, and TypeScript. - [Architecture](https://docs.go-mizu.dev/guides/architecture.md): How Mizu is designed and why - [Community](https://docs.go-mizu.dev/guides/community.md): Connect with the Mizu community and learn how to contribute - [App](https://docs.go-mizu.dev/guides/concepts/app.md): The main entry point that runs your Mizu application. - [Context](https://docs.go-mizu.dev/guides/concepts/context.md): Use Ctx to access the request, response, and logger inside a handler. - [Error Handling](https://docs.go-mizu.dev/guides/concepts/error.md): Handle errors in a clear and consistent way across your application. - [Handler](https://docs.go-mizu.dev/guides/concepts/handler.md): Write clear request handlers that connect routing, context, and responses. - [Logging](https://docs.go-mizu.dev/guides/concepts/logging.md): Use structured logging for requests, errors, and custom messages. - [Middleware](https://docs.go-mizu.dev/guides/concepts/middleware.md): Extend your application with reusable middleware components. - [Overview](https://docs.go-mizu.dev/guides/concepts/overview.md): A tour of Mizu's main concepts and how they fit together. - [Request](https://docs.go-mizu.dev/guides/concepts/request.md): Read incoming data from URL, query, headers, forms, and JSON bodies. - [Response](https://docs.go-mizu.dev/guides/concepts/response.md): Send responses with helpers that manage headers, status codes, and body writes. - [Routing](https://docs.go-mizu.dev/guides/concepts/routing.md): Learn how to connect URLs to handlers. - [Static Files](https://docs.go-mizu.dev/guides/concepts/static.md): Serve static files like images, CSS, and JavaScript directly from your app. - [CI/CD Pipelines](https://docs.go-mizu.dev/guides/deployment/cicd.md): Automate testing, building, and deploying Mizu applications with GitHub Actions, GitLab CI, and other CI/CD platforms. - [Cloud Platforms](https://docs.go-mizu.dev/guides/deployment/cloud.md): Deploy Mizu applications to AWS, Google Cloud, DigitalOcean, and other cloud providers. - [Docker](https://docs.go-mizu.dev/guides/deployment/docker.md): Deploy Mizu applications using Docker containers. - [Kubernetes](https://docs.go-mizu.dev/guides/deployment/kubernetes.md): Deploy and orchestrate Mizu applications on Kubernetes. - [Overview](https://docs.go-mizu.dev/guides/deployment/overview.md): Strategies and best practices for deploying Mizu applications to production. - [Serverless](https://docs.go-mizu.dev/guides/deployment/serverless.md): Deploy Mizu applications to serverless platforms like AWS Lambda and Google Cloud Functions. - [Traditional Servers](https://docs.go-mizu.dev/guides/deployment/traditional.md): Deploy Mizu applications to VPS or bare metal servers with systemd and reverse proxy. - [FAQ](https://docs.go-mizu.dev/guides/faq.md): Frequently asked questions about Mizu - [Build Your First API](https://docs.go-mizu.dev/guides/first-api.md): Step-by-step tutorial to build a complete REST API with Mizu - [Build Your First Full-Stack App](https://docs.go-mizu.dev/guides/first-fullstack.md): Build a complete full-stack application with Go backend and React frontend - [Build Your First Website](https://docs.go-mizu.dev/guides/first-website.md): Step-by-step tutorial to build a server-rendered website with Mizu - [Installation](https://docs.go-mizu.dev/guides/installation.md): Get started with Mizu in your Go project - [Project Structure](https://docs.go-mizu.dev/guides/project-structure.md): Organize your Mizu project for maintainability and scale. - [Quick Start](https://docs.go-mizu.dev/guides/quick-start.md): Build your first Mizu app in 5 minutes. - [Testing](https://docs.go-mizu.dev/guides/testing.md): Write effective tests for your Mizu handlers and middleware. - [Welcome to Mizu](https://docs.go-mizu.dev/guides/welcome.md): A lightweight, composable web framework for Go - [Adaptive](https://docs.go-mizu.dev/middlewares/adaptive.md): Adaptive rate limiting middleware that adjusts based on system load. - [Audit](https://docs.go-mizu.dev/middlewares/audit.md): Audit logging middleware for tracking and recording all HTTP requests. - [Basic Auth](https://docs.go-mizu.dev/middlewares/basicauth.md): HTTP Basic Authentication middleware for protecting routes with username/password. - [Bearer Auth](https://docs.go-mizu.dev/middlewares/bearerauth.md): Bearer token authentication middleware for API protection. - [Body Close](https://docs.go-mizu.dev/middlewares/bodyclose.md): Auto body close middleware to ensure request bodies are properly closed. - [Body Dump](https://docs.go-mizu.dev/middlewares/bodydump.md): Request/response body dumping middleware for debugging. - [Body Limit](https://docs.go-mizu.dev/middlewares/bodylimit.md): Request body size limiting middleware for security and resource protection. - [Bot](https://docs.go-mizu.dev/middlewares/bot.md): Bot detection middleware for identifying automated traffic. - [Bulkhead](https://docs.go-mizu.dev/middlewares/bulkhead.md): Bulkhead pattern middleware for isolating failures and limiting concurrency. - [Cache](https://docs.go-mizu.dev/middlewares/cache.md): Cache-Control header middleware for HTTP caching. - [Canary](https://docs.go-mizu.dev/middlewares/canary.md): Canary deployment middleware for gradual traffic shifting. - [CAPTCHA](https://docs.go-mizu.dev/middlewares/captcha.md): CAPTCHA verification middleware supporting reCAPTCHA, hCaptcha, and Turnstile. - [Chaos](https://docs.go-mizu.dev/middlewares/chaos.md): Chaos engineering middleware for resilience testing. - [Circuit Breaker](https://docs.go-mizu.dev/middlewares/circuitbreaker.md): Circuit breaker pattern middleware for fault tolerance and resilience. - [Compress](https://docs.go-mizu.dev/middlewares/compress.md): Response compression middleware supporting gzip and deflate encoding. - [Concurrency](https://docs.go-mizu.dev/middlewares/concurrency.md): Concurrency limiting middleware for controlling parallel request processing. - [Conditional](https://docs.go-mizu.dev/middlewares/conditional.md): Conditional middleware execution based on request properties. - [Content Type](https://docs.go-mizu.dev/middlewares/contenttype.md): Content-Type validation and enforcement middleware. - [CORS](https://docs.go-mizu.dev/middlewares/cors.md): Cross-Origin Resource Sharing middleware for handling browser cross-origin requests. - [CORS2](https://docs.go-mizu.dev/middlewares/cors2.md): Enhanced CORS middleware with preflight caching and advanced options. - [CSRF](https://docs.go-mizu.dev/middlewares/csrf.md): Cross-Site Request Forgery protection middleware for secure form submissions. - [CSRF2](https://docs.go-mizu.dev/middlewares/csrf2.md): Enhanced CSRF protection with double submit cookie pattern. - [Embed](https://docs.go-mizu.dev/middlewares/embed.md): Embedded filesystem middleware for serving bundled assets. - [Envelope](https://docs.go-mizu.dev/middlewares/envelope.md): Response envelope middleware for consistent API response structure. - [Error Page](https://docs.go-mizu.dev/middlewares/errorpage.md): Custom error page middleware for handling HTTP errors. - [ETag](https://docs.go-mizu.dev/middlewares/etag.md): ETag generation middleware for HTTP caching and conditional requests. - [Expvar](https://docs.go-mizu.dev/middlewares/expvar.md): Expvar metrics endpoint middleware for Go runtime metrics. - [Fallback](https://docs.go-mizu.dev/middlewares/fallback.md): Fallback handler middleware for graceful degradation. - [Favicon](https://docs.go-mizu.dev/middlewares/favicon.md): Favicon serving middleware for efficient favicon.ico handling. - [Feature Flags](https://docs.go-mizu.dev/middlewares/feature.md): Feature flag middleware for controlled feature rollouts. - [Filter](https://docs.go-mizu.dev/middlewares/filter.md): Request filtering middleware for conditional routing. - [Fingerprint](https://docs.go-mizu.dev/middlewares/fingerprint.md): Request fingerprinting middleware for client identification. - [Forwarded](https://docs.go-mizu.dev/middlewares/forwarded.md): X-Forwarded-* header parsing middleware for proxy environments. - [GraphQL](https://docs.go-mizu.dev/middlewares/graphql.md): GraphQL query validation middleware for securing GraphQL APIs. - [H2C](https://docs.go-mizu.dev/middlewares/h2c.md): HTTP/2 cleartext middleware for unencrypted HTTP/2 connections. - [Header](https://docs.go-mizu.dev/middlewares/header.md): Request and response header manipulation middleware. - [Healthcheck](https://docs.go-mizu.dev/middlewares/healthcheck.md): Health check endpoints middleware for Kubernetes liveness and readiness probes. - [Hedge](https://docs.go-mizu.dev/middlewares/hedge.md): Hedged requests middleware for latency reduction through parallel requests. - [Helmet](https://docs.go-mizu.dev/middlewares/helmet.md): Security headers middleware for protecting against common web vulnerabilities. - [Honeypot](https://docs.go-mizu.dev/middlewares/honeypot.md): Detect and block malicious requests targeting common attack paths. - [Hypermedia](https://docs.go-mizu.dev/middlewares/hypermedia.md): Hypermedia response helpers for HATEOAS APIs. - [Idempotency](https://docs.go-mizu.dev/middlewares/idempotency.md): Idempotency key middleware for safe request retries and duplicate prevention. - [IP Filter](https://docs.go-mizu.dev/middlewares/ipfilter.md): IP whitelist and blacklist middleware for access control. - [JSON-RPC](https://docs.go-mizu.dev/middlewares/jsonrpc.md): JSON-RPC protocol middleware for RPC-style APIs. - [JWT](https://docs.go-mizu.dev/middlewares/jwt.md): JSON Web Token authentication middleware for secure API access. - [Keep-Alive](https://docs.go-mizu.dev/middlewares/keepalive.md): Connection keep-alive control middleware for HTTP connections. - [Key Auth](https://docs.go-mizu.dev/middlewares/keyauth.md): API key authentication middleware for securing APIs. - [Language](https://docs.go-mizu.dev/middlewares/language.md): Language detection middleware for internationalization. - [Last Modified](https://docs.go-mizu.dev/middlewares/lastmodified.md): Last-Modified header middleware for conditional requests. - [Logger](https://docs.go-mizu.dev/middlewares/logger.md): Request logging middleware with customizable format and output. - [Maintenance](https://docs.go-mizu.dev/middlewares/maintenance.md): Maintenance mode middleware for scheduled downtime. - [Max Connections](https://docs.go-mizu.dev/middlewares/maxconns.md): Maximum connections limit middleware for resource protection. - [Method Override](https://docs.go-mizu.dev/middlewares/methodoverride.md): HTTP method override middleware for HTML forms. - [Metrics](https://docs.go-mizu.dev/middlewares/metrics.md): Custom metrics collection middleware for application monitoring. - [Mirror](https://docs.go-mizu.dev/middlewares/mirror.md): Request mirroring middleware for traffic shadowing. - [Mock](https://docs.go-mizu.dev/middlewares/mock.md): Request mocking middleware for testing and development. - [MessagePack](https://docs.go-mizu.dev/middlewares/msgpack.md): MessagePack content handling middleware for binary serialization. - [Multi-tenancy](https://docs.go-mizu.dev/middlewares/multitenancy.md): Multi-tenant middleware for SaaS applications. - [No Cache](https://docs.go-mizu.dev/middlewares/nocache.md): Prevent caching middleware for sensitive or dynamic content. - [Nonce](https://docs.go-mizu.dev/middlewares/nonce.md): Cryptographic nonce generation middleware for CSP and security. - [OAuth2](https://docs.go-mizu.dev/middlewares/oauth2.md): OAuth 2.0 authentication middleware for third-party login integration. - [OIDC](https://docs.go-mizu.dev/middlewares/oidc.md): OpenID Connect authentication middleware for identity provider integration. - [OpenTelemetry](https://docs.go-mizu.dev/middlewares/otel.md): OpenTelemetry integration middleware for distributed tracing and metrics. - [Overview](https://docs.go-mizu.dev/middlewares/overview.md): A comprehensive collection of common middlewares for Mizu. - [Pprof](https://docs.go-mizu.dev/middlewares/pprof.md): Profiling endpoints middleware for performance analysis. - [Prometheus](https://docs.go-mizu.dev/middlewares/prometheus.md): Prometheus metrics endpoint middleware for monitoring. - [Proxy](https://docs.go-mizu.dev/middlewares/proxy.md): Reverse proxy middleware for forwarding requests to upstream servers. - [Rate Limit](https://docs.go-mizu.dev/middlewares/ratelimit.md): Token bucket rate limiting middleware to protect against abuse. - [RBAC](https://docs.go-mizu.dev/middlewares/rbac.md): Role-based access control middleware for authorization. - [Real IP](https://docs.go-mizu.dev/middlewares/realip.md): Real client IP extraction middleware for proxy environments. - [Recover](https://docs.go-mizu.dev/middlewares/recover.md): Panic recovery middleware for graceful error handling. - [Redirect](https://docs.go-mizu.dev/middlewares/redirect.md): URL redirection middleware for HTTPS, WWW, and custom redirects. - [Request ID](https://docs.go-mizu.dev/middlewares/requestid.md): Request ID generation and propagation middleware for tracing. - [Request Log](https://docs.go-mizu.dev/middlewares/requestlog.md): Detailed request logging middleware with structured output. - [Request Size](https://docs.go-mizu.dev/middlewares/requestsize.md): Request size tracking middleware for monitoring and metrics. - [Response Log](https://docs.go-mizu.dev/middlewares/responselog.md): Response logging middleware for debugging and monitoring. - [Response Size](https://docs.go-mizu.dev/middlewares/responsesize.md): Response size tracking middleware for monitoring and metrics. - [Retry](https://docs.go-mizu.dev/middlewares/retry.md): Automatic retry middleware for handling transient failures. - [Rewrite](https://docs.go-mizu.dev/middlewares/rewrite.md): URL rewriting middleware for path transformation without redirects. - [Sanitizer](https://docs.go-mizu.dev/middlewares/sanitizer.md): Input sanitization middleware for security and data cleaning. - [Secure](https://docs.go-mizu.dev/middlewares/secure.md): HTTPS enforcement and comprehensive security middleware. - [Sentry](https://docs.go-mizu.dev/middlewares/sentry.md): Sentry error tracking middleware for error monitoring. - [Session](https://docs.go-mizu.dev/middlewares/session.md): Server-side session management middleware with cookie-based tracking. - [Signature](https://docs.go-mizu.dev/middlewares/signature.md): Request signature verification middleware for secure API access. - [Slash](https://docs.go-mizu.dev/middlewares/slash.md): Trailing slash handling middleware for consistent URLs. - [SPA](https://docs.go-mizu.dev/middlewares/spa.md): Single Page Application middleware for client-side routing support. - [SSE](https://docs.go-mizu.dev/middlewares/sse.md): Server-Sent Events middleware for real-time server-to-client streaming. - [Static](https://docs.go-mizu.dev/middlewares/static.md): Static file serving middleware for serving files from the filesystem or embedded FS. - [Surrogate](https://docs.go-mizu.dev/middlewares/surrogate.md): CDN surrogate headers middleware for cache control. - [Throttle](https://docs.go-mizu.dev/middlewares/throttle.md): Request throttling middleware for controlling concurrent request processing. - [Timeout](https://docs.go-mizu.dev/middlewares/timeout.md): Request timeout middleware for preventing long-running requests. - [Timezone](https://docs.go-mizu.dev/middlewares/timezone.md): Timezone detection middleware for time localization. - [Timing](https://docs.go-mizu.dev/middlewares/timing.md): Server-Timing header middleware for performance monitoring. - [Trace](https://docs.go-mizu.dev/middlewares/trace.md): Distributed tracing context middleware for observability. - [Transformer](https://docs.go-mizu.dev/middlewares/transformer.md): Request/response transformation middleware for data manipulation. - [Validator](https://docs.go-mizu.dev/middlewares/validator.md): Request validation middleware with declarative rules. - [Vary](https://docs.go-mizu.dev/middlewares/vary.md): Vary header management middleware for cache control. - [Version](https://docs.go-mizu.dev/middlewares/version.md): API versioning middleware for managing multiple API versions. - [WebSocket](https://docs.go-mizu.dev/middlewares/websocket.md): WebSocket upgrade middleware for real-time bidirectional communication. - [XML](https://docs.go-mizu.dev/middlewares/xml.md): XML content handling middleware for XML request/response processing. - [X-Requested-With](https://docs.go-mizu.dev/middlewares/xrequestedwith.md): X-Requested-With header validation middleware for AJAX request detection. - [Adapters](https://docs.go-mizu.dev/mobile/adapters.md): Framework-specific mobile adapters for common patterns. - [Android](https://docs.go-mizu.dev/mobile/android.md): Build native Android apps with Kotlin, Jetpack Compose, and Mizu backend integration. - [API Reference](https://docs.go-mizu.dev/mobile/api-reference.md): Complete API documentation for the mobile package. - [App Store Integration](https://docs.go-mizu.dev/mobile/appstore.md): Version checking, force updates, and maintenance mode. - [Deep Links](https://docs.go-mizu.dev/mobile/deeplinks.md): Universal Links for iOS and App Links for Android. - [Device Detection](https://docs.go-mizu.dev/mobile/device.md): Parse and validate device information from mobile clients. - [.NET MAUI](https://docs.go-mizu.dev/mobile/dotnet.md): Build cross-platform apps with C#, .NET MAUI, and Mizu backend integration. - [Structured Errors](https://docs.go-mizu.dev/mobile/errors.md): Return consistent, mobile-friendly error responses. - [Flutter](https://docs.go-mizu.dev/mobile/flutter.md): Build cross-platform apps with Dart, Riverpod, and Mizu backend integration. - [Unity Game](https://docs.go-mizu.dev/mobile/game.md): Build mobile games with Unity, C#, and Mizu backend integration. - [HTTP Headers](https://docs.go-mizu.dev/mobile/headers.md): Standard mobile headers for request and response. - [iOS](https://docs.go-mizu.dev/mobile/ios.md): Build native iOS apps with Swift, SwiftUI, and Mizu backend integration. - [Kotlin Multiplatform](https://docs.go-mizu.dev/mobile/kmm.md): Build cross-platform apps with shared Kotlin code and Mizu backend integration. - [Overview](https://docs.go-mizu.dev/mobile/overview.md): Build production-ready mobile backends with Mizu's comprehensive mobile integration. - [Pagination](https://docs.go-mizu.dev/mobile/pagination.md): Page-based and cursor-based pagination helpers for mobile APIs. - [Production](https://docs.go-mizu.dev/mobile/production.md): Deploy mobile backends to production with best practices. - [Push Notifications](https://docs.go-mizu.dev/mobile/push.md): Cross-platform push token management for APNS, FCM, and WNS. - [Progressive Web App](https://docs.go-mizu.dev/mobile/pwa.md): Build offline-capable web apps with React, Vite, and Mizu backend integration. - [Quick Start](https://docs.go-mizu.dev/mobile/quick-start.md): Create your first mobile backend with Mizu in minutes. - [React Native](https://docs.go-mizu.dev/mobile/reactnative.md): Build cross-platform apps with TypeScript, Expo, and Mizu backend integration. - [Security](https://docs.go-mizu.dev/mobile/security.md): Security best practices for mobile backends. - [Offline Sync](https://docs.go-mizu.dev/mobile/sync.md): Delta synchronization for offline-first mobile applications. - [Templates](https://docs.go-mizu.dev/mobile/templates.md): Available mobile templates and how to use them. - [Troubleshooting](https://docs.go-mizu.dev/mobile/troubleshooting.md): Debug common mobile backend issues. - [API Versioning](https://docs.go-mizu.dev/mobile/versioning.md): Manage API versions with semantic versioning and deprecation warnings. - [Features](https://docs.go-mizu.dev/overview/features.md): What makes Mizu enjoyable to build with. - [Roadmap](https://docs.go-mizu.dev/overview/roadmap.md): The planned milestones for Mizu development. - [Use Cases](https://docs.go-mizu.dev/overview/use-cases.md): What you can build with Mizu. - [Why Mizu](https://docs.go-mizu.dev/overview/why.md): The idea and purpose behind the Mizu framework. - [Engine](https://docs.go-mizu.dev/view/engine.md): Configure the view engine for development and production - [Functions](https://docs.go-mizu.dev/view/functions.md): Built-in helper functions and custom template functions - [Layouts](https://docs.go-mizu.dev/view/layouts.md): Create consistent page structures with layouts - [Overview](https://docs.go-mizu.dev/view/live-overview.md): Real-time WebSocket communication with topic-based pub/sub - [Pub/Sub](https://docs.go-mizu.dev/view/live-pubsub.md): Topic-based publish/subscribe for real-time messaging - [Quick Start](https://docs.go-mizu.dev/view/live-quick-start.md): Build your first real-time feature with WebSockets - [Server](https://docs.go-mizu.dev/view/live-server.md): Configure the live server for WebSocket connections - [Sessions](https://docs.go-mizu.dev/view/live-sessions.md): Managing WebSocket connections and session lifecycle - [Overview](https://docs.go-mizu.dev/view/overview.md): Server-side HTML templating with Go's html/template - [Production](https://docs.go-mizu.dev/view/production.md): Deploy your views in production with embedded templates and caching - [Quick Start](https://docs.go-mizu.dev/view/quick-start.md): Create your first dynamic web page with Mizu's view engine in 5 minutes - [Client](https://docs.go-mizu.dev/view/sync-client.md): Client-side sync runtime for offline-first applications - [Collections](https://docs.go-mizu.dev/view/sync-collections.md): Type-safe entity management with Collections and Entities - [Integration](https://docs.go-mizu.dev/view/sync-integration.md): Combine sync with live for real-time state synchronization - [Overview](https://docs.go-mizu.dev/view/sync-overview.md): Client-side reactive state management with offline-first synchronization - [Quick Start](https://docs.go-mizu.dev/view/sync-quick-start.md): Build your first offline-first app with sync in 10 minutes - [Reactive](https://docs.go-mizu.dev/view/sync-reactive.md): Signal, Computed, and Effect for reactive state management - [Templates](https://docs.go-mizu.dev/view/templates.md): Understanding Go template syntax and data access ## OpenAPI Specs - [openapi](https://docs.go-mizu.dev/api-reference/openapi.json) ## Optional - [Discord](https://discord.gg/8QpMsNBB8n) - [GitHub](https://github.com/go-mizu/mizu)