Expand description
§Kotoba Server Core
Core HTTP server library for Kotoba providing basic HTTP/GraphQL server functionality. This crate contains the foundational server components without workflow dependencies.
Re-exports§
pub use server::HttpServer;pub use server::ServerConfig;pub use server::ServerBuilder;pub use router::AppRouter;pub use middleware::CorsConfig;pub use middleware::LoggingConfig;pub use handlers::HealthHandler;pub use handlers::NotFoundHandler;
Modules§
- handlers
- Common HTTP handlers
- middleware
- Middleware utilities
- router
- Router utilities and helpers
- server
- HTTP server implementation
Enums§
- Server
Error - Core server error type
Functions§
- kotoba_
error_ to_ response - Convert KotobaError to Axum response
Type Aliases§
- Result
- Result type for server operations