Skip to content
go-webPublic

About

Input parsers and output writers for Go HTTP handlers

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

Repository files navigation

httpio

GoDoc

httpio provides input decoders and output encoders. The idea is that you define a struct for the input parameters and httpio will parse it based on the Content-Type. It supports XML, JSON, YAML, Form and Multipart Form.

For the output encoders, same thing. You define a struct and httpio writes the response based on the Accept header. If no encoder is found (in case Accept is not) you can provide a default encoder of your own.

Install:

go get github.com/go-web/httpio

See the example for details.

About

Input parsers and output writers for Go HTTP handlers

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

⌂ 换网址