Skip to content

Commit

Permalink
update license and links
Browse files Browse the repository at this point in the history
  • Loading branch information
superstes committed Sep 11, 2024
1 parent 1186e62 commit ddb3f6e
Show file tree
Hide file tree
Showing 8 changed files with 34 additions and 654 deletions.
662 changes: 21 additions & 641 deletions LICENSE.txt

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[![Lint](https://github.com/superstes/geoip-lookup-service/actions/workflows/lint.yml/badge.svg?branch=latest)](https://github.com/superstes/geoip-lookup-service/actions/workflows/lint.yml)
[![Lint](https://github.com/O-X-L/geoip-lookup-service/actions/workflows/lint.yml/badge.svg?branch=latest)](https://github.com/O-X-L/geoip-lookup-service/actions/workflows/lint.yml)

# GeoIP Lookup Service

Expand All @@ -15,11 +15,11 @@ As I don't have loads of money to spare - Testing is only done using the [IPInfo

If you want to use their extended databases, you might encounter problems. You are welcome to help integrating them correctly.

Feel free to [open a ticket](https://github.com/superstes/geoip-lookup-service/issues/new) if you encounter any issues.
Feel free to [open a ticket](https://github.com/O-X-L/geoip-lookup-service/issues/new) if you encounter any issues.

## Integration

* [HAProxy Community using Lua](https://github.com/superstes/haproxy-geoip)
* [HAProxy Community using Lua](https://github.com/O-X-L/haproxy-geoip)

NOTE: HAProxy provides enterprise-grade licensing that has this functionality built-in.

Expand Down Expand Up @@ -103,7 +103,7 @@ Example systemd service:
```text
[Unit]
Description=GeoIP Lookup Service
Documentation=https://github.com/superstes/geoip-lookup-service
Documentation=https://github.com/O-X-L/geoip-lookup-service
[Service]
Type=simple
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/superstes/geoip-lookup-service
module github.com/O-X-L/geoip-lookup-service

go 1.21.1

Expand Down
2 changes: 1 addition & 1 deletion lookup/ipinfo.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package lookup
import (
"net"

"github.com/superstes/geoip-lookup-service/cnf"
"github.com/O-X-L/geoip-lookup-service/cnf"
)

func IpInfoCountry(ip net.IP) (interface{}, error) {
Expand Down
2 changes: 1 addition & 1 deletion lookup/mapping.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"net"

"github.com/oschwald/maxminddb-golang"
"github.com/superstes/geoip-lookup-service/cnf"
"github.com/O-X-L/geoip-lookup-service/cnf"
)

var FUNC_MAPPING = map[uint8]interface{}{
Expand Down
2 changes: 1 addition & 1 deletion lookup/maxmind.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package lookup
import (
"net"

"github.com/superstes/geoip-lookup-service/cnf"
"github.com/O-X-L/geoip-lookup-service/cnf"
)

func MaxMindCountry(ip net.IP) (interface{}, error) {
Expand Down
4 changes: 2 additions & 2 deletions main/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import (
"flag"
"fmt"

"github.com/superstes/geoip-lookup-service/cnf"
"github.com/O-X-L/geoip-lookup-service/cnf"
)

func welcome() {
Expand All @@ -15,7 +15,7 @@ func welcome() {
fmt.Println("\\____/\\___/\\____/___/_/ /_____/\\____/\\____/_/|_|\\__,_/ .___/ ")
fmt.Println(" /_/ ")
fmt.Printf("Version: %v\n", cnf.VERSION)
fmt.Printf("by Superstes (GPLv3)\n\n")
fmt.Printf("by OXL IT Services (License: MIT)\n\n")
}

func main() {
Expand Down
6 changes: 3 additions & 3 deletions main/server.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ import (
"net/http"
"strings"

"github.com/superstes/geoip-lookup-service/cnf"
"github.com/superstes/geoip-lookup-service/lookup"
"github.com/superstes/geoip-lookup-service/u"
"github.com/O-X-L/geoip-lookup-service/cnf"
"github.com/O-X-L/geoip-lookup-service/lookup"
"github.com/O-X-L/geoip-lookup-service/u"
)

func errorResponse(w http.ResponseWriter, m string) {
Expand Down

0 comments on commit ddb3f6e

Please sign in to comment.