.

Technology

net/http

The Go standard library package providing robust, production-ready HTTP client and server implementations (e.g., `http.Client`, `http.ListenAndServe`).

This is the core HTTP package for Go, delivering full client and server capabilities right out of the box; no external frameworks required. On the server side, you use `http.HandleFunc` to register handlers to specific routes, then launch with `http.ListenAndServe(":8080", nil)`. Each handler receives an `http.ResponseWriter` and a `*http.Request` for complete control over the transaction. For client operations, you can execute simple GET requests with `http.Get(url)` or construct a custom `http.Client` to manage specifics like redirect policy, timeouts, and headers. It’s the foundational tool for building high-performance REST APIs and microservices in Go.

https://pkg.go.dev/net/http
1 project · 1 city

Related technologies

Recent Talks & Demos

Showing 1-1 of 1

Members-Only

Sign in to see who built these projects