Affected by GO-2024-2734
and 1 other vulnerabilities
GO-2024-2734 : 1Panel's password verification is suspected to have a timing attack vulnerability in github.com/1Panel-dev/1Panel
GO-2024-2990 : 1Panel has an SQL injection issue related to the orderBy clause in github.com/1Panel-dev/1Panel
Discover Packages
github.com/1Panel-dev/1Panel
backend
utils
geo
package
Version:
v1.10.23-lts
Opens a new window with list of versions in this module.
Published: Jan 10, 2025
License: GPL-3.0
Opens a new window with license information.
Imports: 4
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
Documentation
¶
type Location struct {
En string `maxminddb:"en"`
Zh string `maxminddb:"zh"`
}
type LocationRes struct {
Iso string `maxminddb:"iso"`
Country Location `maxminddb:"country"`
Latitude float64 `maxminddb:"latitude"`
Longitude float64 `maxminddb:"longitude"`
Province Location `maxminddb:"province"`
}
Source Files
¶
Click to show internal directories.
Click to hide internal directories.