Skip to content

Commit

Permalink
fix module name
Browse files Browse the repository at this point in the history
  • Loading branch information
Songmu committed Apr 8, 2020
1 parent 94c0b43 commit f56c6ef
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 deletions.
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
go-realip
realip
=======

[![Test Status](https://github.com/natureglobal/go-realip/workflows/test/badge.svg?branch=master)][actions]
[![Coverage Status](https://coveralls.io/repos/natureglobal/go-realip/badge.svg?branch=master)][coveralls]
[![Test Status](https://github.com/natureglobal/realip/workflows/test/badge.svg?branch=master)][actions]
[![Coverage Status](https://coveralls.io/repos/natureglobal/realip/badge.svg?branch=master)][coveralls]
[![MIT License](http://img.shields.io/badge/license-MIT-blue.svg?style=flat-square)][license]
[![GoDoc](https://godoc.org/github.com/natureglobal/go-realip?status.svg)][godoc]
[![GoDoc](https://godoc.org/github.com/natureglobal/realip?status.svg)][godoc]

[actions]: https://github.com/natureglobal/go-realip/actions?workflow=test
[coveralls]: https://coveralls.io/r/natureglobal/go-realip?branch=master
[license]: https://github.com/natureglobal/go-realip/blob/master/LICENSE
[godoc]: https://godoc.org/github.com/natureglobal/go-realip
[actions]: https://github.com/natureglobal/realip/actions?workflow=test
[coveralls]: https://coveralls.io/r/natureglobal/realip?branch=master
[license]: https://github.com/natureglobal/realip/blob/master/LICENSE
[godoc]: https://godoc.org/github.com/natureglobal/realip

The go-realip detects client real ip in Go's HTTP middleware layer.
The realip detects client real ip in Go's HTTP middleware layer.

## Synopsis

Expand All @@ -30,13 +30,13 @@ handler = middleware(handler)

## Description

The go-realip package implements detecting client real IP mechanisms from request headers in Go's HTTP middleware layer.
This have a similar behavior as Nginx's ngx\_http\_go-realip\_module
The realip package implements detecting client real IP mechanisms from request headers in Go's HTTP middleware layer.
This have a similar behavior as Nginx's ngx\_http\_realip\_module

## Installation

```console
% go get github.com/natureglobal/go-realip
% go get github.com/natureglobal/realip
```

## Author
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module github.com/natureglobal/go-realip
module github.com/natureglobal/realip

go 1.14
2 changes: 1 addition & 1 deletion realip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (
"strings"
"testing"

"github.com/natureglobal/go-realip"
"github.com/natureglobal/realip"
)

func mustParseCIDR(addr string) *net.IPNet {
Expand Down

0 comments on commit f56c6ef

Please sign in to comment.