LANscan is a Go application that performs network-related checks, including ICMP ping to IP addresses and port availability checks. The application provides a simple HTTP API for users to submit IP addresses and ports for testing. It leverages the "go-ping" library to ensure the availability of IP addresses and ports.
Key Features:
- ICMP Ping: The application performs ICMP ping checks to verify the availability of specified IP addresses.
- Port Check: It checks the availability of specified ports on the provided IP addresses.
- HTTP API: NetworkChecker exposes a straightforward HTTP API for easy integration.
- JSON Responses: Results are presented in JSON format, including ping times and port status.
Usage:
- Submit IP addresses and ports using HTTP requests to the /ping/ endpoint.
- Receive JSON responses with ping times and port status.
Getting Started:
- Clone the repository.
- Build and run the Go application.
- Use HTTP requests to interact with the API.
Dependencies:
- Go programming language
- "github.com/go-ping/ping" library
Contributions:
Contributions to the project are welcome. Feel free to submit issues, feature requests, or pull requests.