Skip to content

Super simple example of a forward proxy working using go proxy

Notifications You must be signed in to change notification settings

augier/forward-proxy-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Forward Proxy Example

This is just simple example of a forward proxy working using goproxy.

It consists of a proxy server, a server and a client all of which are contained in their own folders.

Instructions

Start the proxy server

cd proxy

go run main.go

Start the server

cd server
go run main.go

Run the client

cd client
go run main.go

Expected output

To prove the requests are going via the proxy, it appends on the header: "X-GoProxy:hello world" which should be visible in the servers logs.

About

Super simple example of a forward proxy working using go proxy

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages