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
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime Icon
Custom VMs From 1 to 96 vCPUs With 99.95% Uptime

General-purpose, compute-optimized, or GPU/TPU-accelerated. Built to your exact specs.

Live migration and automatic failover keep workloads online through maintenance. One free e2-micro VM every month.
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