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

Other Useful Business Software
Try Google Cloud Risk-Free With $300 in Credit Icon
Try Google Cloud Risk-Free With $300 in Credit

No hidden charges. No surprise bills. Cancel anytime.

Use your credit across every product. Compute, storage, AI, analytics. When it runs out, 20+ products stay free. You only pay when you choose to.
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