Skip to content

Contains the slides and code for my 2018 OpenWest talk "Creating a Dynamic Reverse Proxy with Go".

Notifications You must be signed in to change notification settings

Caid11/creating-a-dynamic-reverse-proxy-with-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Creating a Dynamic Reverse Proxy with Go

This repository contains the slides and code for my 2018 talk at OpenWest titled "Creating a Dynamic Reverse Proxy with Go".

Live Demo Notes

Here are the steps shown during the live demo:

  • Launch Godoc: godoc --http=:6060
  • Open local Godocs in browser.
  • Show off how Godoc works, navigate to the httputil package
  • Show documentation for reverse proxy
  • Copy docs into a Go file.
  • Run them.
  • Show source for NewSingleHostReverseProxy
  • Make our own rp struct that goes to "https://now.httpbin.org/"
  • Modify the struct so it randomly shows either the time or the original backend
  • Launch a goroutine in the director

About

Contains the slides and code for my 2018 OpenWest talk "Creating a Dynamic Reverse Proxy with Go".

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages