Skip to content

Huy-DNA/go-http

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

87 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-http

This is a challenge which aims at implementing an HTTP server from scratch using Go.

Constraints

  • Libraries that wrap around libc are permitted.
  • No libraries that abstract away the internals of libc are allowed.
  • Utilities library for compression, error handling, etc. are allowed.

Requirements

  • Should be HTTP/1.1-compliant (P2)
  • Able to handle multiple concurrent TCP connection. (P1)
  • Should perform request assembly. (P1)
  • Should be able to parse HTTP requests. (P1)
  • Allow defining handlers for requests. (P1)
  • Allow defining plugins to perform logging/monitoring. (P2)
  • Can act as a static HTTP server as the fallback behavior. (P2)
  • Allow server configuration. (P2)
  • Perform response compression. (P3)

References

About

Implement an HTTP server from scratch using Go

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages