Skip to content

Commit

Permalink
readme
Browse files Browse the repository at this point in the history
  • Loading branch information
orkunkaraduman committed Mar 2, 2018
1 parent e1055f0 commit ebffeab
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down Expand Up @@ -104,7 +112,11 @@ type Context struct {
}
```

### Simple code
## Examples

For more examples, examples/

### examples/go-httpproxy-simple

```go
package main
Expand Down

0 comments on commit ebffeab

Please sign in to comment.