Skip to content

wcleeah/servergo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ServerGo

A experimental server so that i can understand how a http server works, it starts a tcp server, and a hand crafted http server. It is absolutely not for production, it is only for me to try building a http server in go.

Product

  • A HTTP server from scratch (TCP server -> response)

Goal

  • Learn how HTTP works
  • Get more familiar with go and go testing suite

TODO

  • parse body
  • unit test for route.Req and route.Res
  • assert / error handling
  • add route and see if the whole thing works
  • some more unit testing
  • 1.1 support
    • Connection: Keep-Alive

Future

  • 1.1 support
    • Mandatory Host header
    • Chunked Transfer Encoding
  • load testing
  • full compatible with the specification
  • http 2
  • websocket
  • JSON parser

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages