Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/snekromonoro/go-proxyparser
Library in Golang to parse a proxy
https://github.com/snekromonoro/go-proxyparser
Last synced: 2 days ago
JSON representation
Library in Golang to parse a proxy
- Host: GitHub
- URL: https://github.com/snekromonoro/go-proxyparser
- Owner: snekROmonoro
- License: mit
- Created: 2024-02-25T12:08:50.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-02-25T12:16:56.000Z (9 months ago)
- Last Synced: 2024-06-21T14:17:14.689Z (5 months ago)
- Language: Go
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Go-ProxyParser
Library in Golang to parse proxy URL details## Installation
```sh
go get github.com/snekROmonoro/Go-ProxyParser
```## Usage
```go
import (
proxyparser "github.com/snekROmonoro/Go-ProxyParser"
)...
var proxyStr = "http://username:password@host:port"
var ProxyData *proxyparser.ProxyData
var parsedProxySuccessfully = falseProxyData, parsedProxySuccessfully = proxyparser.GetProxyData(proxyStr)
```