mirror of
https://github.com/dcarrillo/whatismyip.git
synced 2025-07-03 13:39:26 +00:00
Add endopoint to check is a given port is open on the client (#22)
This commit is contained in:
@ -22,6 +22,7 @@ func SetupTemplate(r *gin.Engine) {
|
||||
// Setup defines the endpoints
|
||||
func Setup(r *gin.Engine) {
|
||||
r.GET("/", getRoot)
|
||||
r.GET("/scan/tcp/:port", scanTCPPort)
|
||||
r.GET("/client-port", getClientPortAsString)
|
||||
r.GET("/geo", getGeoAsString)
|
||||
r.GET("/geo/:field", getGeoAsString)
|
||||
|
Reference in New Issue
Block a user