Skip to content

Commit

Permalink
Fix typo in README.
Browse files Browse the repository at this point in the history
  • Loading branch information
hiyosi committed Oct 27, 2016
1 parent 5dbc97b commit 1539b04
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ func main() {
```.go
// server

b := NewBewitConfig(
b := hawk.NewBewitConfig(
&hawk.Credential{
ID: "123456",
Key: "werxhqb98rpaxn39848xrunpaw3489ruxnpa98w4rxn",
Expand Down Expand Up @@ -173,7 +173,7 @@ func hawkBewitHandler(w http.ResponseWriter, r *http.Request) {
- get host-name by specified header name.

```.go
s := NewServer(testCredStore)
s := hawk.NewServer(testCredStore)
s.AuthOption = &hawk.AuthOption{
CustomHostNameHeader: "X-Forwarded-Host",
}
Expand Down

0 comments on commit 1539b04

Please sign in to comment.