Sling Academy
Home/Golang/Networking and Server

Networking and Server

This series of tutorials is about networking and server stuff in Go.

1 Building an HTTP Server in Go in 2 Minutes

2 Handling JSON Requests and Responses in Go

3 Routing with `net/http`: Basics of Go Web Servers

4 Using Middleware to Extend Go HTTP Servers

5 Securing HTTP Servers in Go with HTTPS and Certificates

6 Creating WebSocket Servers in Go

7 Streaming Data with HTTP in Go

8 Using `http2` for Faster Networking in Go

9 Creating REST APIs with Go: Step-by-Step

10 Building gRPC Servers in Go

11 Interacting with External APIs in Go

12 Socket Programming in Go: Basics and Use Cases

13 Customizing Go HTTP Clients for Better Performance

14 Building Proxy Servers with Go

15 Rate Limiting and Traffic Control in Go Servers

16 Monitoring Server Performance in Go

17 Debugging Network Issues in Go Applications

18 Handling Concurrent Requests in Go Servers

19 Load Balancing HTTP Servers in Go

20 Using TLS and Certificates for Secure Networking in Go

21 Building File Servers in Go

22 Serving Static Files with Go HTTP

23 Understanding Context for Request Management in Go

24 Making HTTP Requests with the `net/http` Package

25 Handling WebSocket Connections in Go

26 Working with Headers and Cookies in Go HTTP Servers

27 Optimizing Go HTTP Servers for Performance

28 Setting Up Reverse Proxies with Go

29 Using Multipart Requests for File Uploads in Go

30 Streaming Large Files with Go HTTP

31 Creating a Chat Server with WebSockets in Go

32 Implementing Keep-Alive Connections in Go Servers

33 Managing Timeouts and Deadlines in Go HTTP Servers

34 Building a Simple FTP Server in Go

35 Using Go's `net` Package for Low-Level Networking

36 Working with UDP and TCP Sockets in Go

37 Creating Custom Protocols with Go's `net` Package

38 Networking Best Practices for Go Applications

39 How to send GET requests with params in Go

40 How to send POST requests with body and headers in Go

41 How to extract user IP address and user agent in Go server

42 How to download a large file from the internet using Go

43 How to read and write PDF files using Go

44 How to send emails using Go

45 How to create a simple proxy server with Go

46 How to set timeout when sending HTTP requests in Go

47 How to handle network errors in Go: A deep dive

48 How to run Python code with Go

49 Working with generic structs in Go

50 Relative imports in Go: Tutorial & Examples

51 Using Go with MongoDB: CRUD example

52 How to redirect in Go (301, 302, etc)

53 How to crawl web pages using Go

54 How to create an XML sitemap in Go