chi is a lightweight, open source composable router for building Go HTTP services. It also helps in writing large REST API services, keeping them maintainable as the project evolves. Having been built on the latest context package, it can easily handle signaling, cancelation and request-scoped values across a handler chain.

chi was built with the sole focus of providing an elegant and comfortable design for writing REST API servers. Its design chiefly considers project structure, maintainability, standard http handlers (stdlib-only), developer productivity, and deconstructing a large system into many small parts. It is very lightweight and fast (according to benchmarks), yet is still able to include several useful subpackages (middleware, render and docgen).

Features

  • Fast and lightweight ( ~1000 LOC )
  • 100% compatible with net/http
  • Designed for modular/composable APIs (middlewares, route groups and subrouter mounting)
  • Context control (provides value chaining, cancellations and timeouts)
  • Robust (in production at Pressly, CloudFlare and several others)
  • Automatic Doc generation
  • No external dependencies

Project Samples

Project Activity

See All Activity >

Categories

HTTP Servers

License

MIT License

Follow chi

chi Web Site

Other Useful Business Software
Epicor BisTrack is a powerful business management software designed specifically for the needs of the building materials industry, including lumberyards, construction suppliers, and distributors. Icon
Epicor BisTrack is a powerful business management software designed specifically for the needs of the building materials industry, including lumberyards, construction suppliers, and distributors.

For construction companies looking for a business management solution for building centers

Epicor BisTrack is a powerful business management software designed specifically for the needs of the building materials industry, including lumberyards, construction suppliers, and distributors. Known for its comprehensive suite of tools, BisTrack streamlines operations by integrating inventory management, purchasing, sales, and delivery processes into a single, user-friendly platform. Its advanced reporting and analytics capabilities enable businesses to make data-driven decisions, optimize workflows, and enhance customer service. With robust mobile functionality and seamless cloud-based deployment options, BisTrack supports real-time collaboration and efficient operations across teams, ensuring businesses stay competitive in a fast-paced industry.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of chi!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

Go

Related Categories

Go HTTP Servers

Registered

2020-07-06