package for building REST-style Web Services using Google Go. REST asks developers to use HTTP methods explicitly and in a way that's consistent with the protocol definition. This basic REST design principle establishes a one-to-one mapping between create, read, update, and delete (CRUD) operations and HTTP methods. Customizable encoding using EntityReaderWriter registration. Filters for intercepting the request-response flow on Service or Route level. Request-scoped variables using attributes. Route errors produce HTTP 404/405/406/415 errors, customizable using ServiceErrorHandler(...). Request API for reading structs from JSON/XML and accessing parameters (path, query, header). Customizable gzip/deflate readers and writers using CompressorProvider registration. There are several hooks to customize the behavior of the go-restful package.

Features

  • Retrieve a representation of a resource
  • Request API for reading structs from JSON/XML and accessing parameters
  • Routes for request
  • Update partial content of a resource
  • Get information about the communication options for the request URI
  • Response API for writing structs to JSON/XML and setting headers

Project Samples

Project Activity

See All Activity >

Categories

Build Tools

License

MIT License

Follow go-restful

go-restful Web Site

You Might Also Like
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of go-restful!

Additional Project Details

Programming Language

Go

Related Categories

Go Build Tools

Registered

2022-01-10