kentonh / gPanel

A web-hosting control panel written in Go.
MIT License
80 stars 25 forks source link

GetClientIP function needs to not rely on an external API #69

Closed george-e-shaw-iv closed 6 years ago

george-e-shaw-iv commented 6 years ago

Severity level (1-10):

8

Files/Directories Involved:

pkg/networking/ip_address.go

Description:

Right now this function relies on this website which has been working fine, but I don't want to run into problems in the future with being reliant on any other services.

If you tackle this problem and you also want to write a test for it I would appreciate that. If not, open another issue and someone else can do it.

Personal Comments: