From ebffeab2256effd78aa7eacbfa3717ec7f6c7bc6 Mon Sep 17 00:00:00 2001 From: Orkun karaduman Date: Fri, 2 Mar 2018 16:52:04 +0300 Subject: [PATCH] readme --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9c08aa2..c98e345 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,14 @@ attack. It's easy to use. `httpproxy.Proxy` implements `Handler` interface of `net/http` package to offer `http.ListenAndServe` function. +## Installing + +```sh +go get -u github.com/go-httpproxy/httpproxy +# or +go get -u gopkg.in/httpproxy.v1 +``` + ## Usage Library has two significant structs: Proxy and Context. @@ -104,7 +112,11 @@ type Context struct { } ``` -### Simple code +## Examples + +For more examples, examples/ + +### examples/go-httpproxy-simple ```go package main