build: set module path to code.luxferre.top/luxferre/gr2gw for go install

This commit is contained in:
Luxferre
2026-09-07 08:05:51 +03:00
parent eb1ae22bab
commit d3be7d4e80
2 changed files with 9 additions and 12 deletions
+7 -11
View File
@@ -4,8 +4,6 @@ A zero-dependency, high-performance Go proxy server that introspects any Gradio
Default demo space: `https://ghost2513-openai-gpt-oss-120b.hf.space` Default demo space: `https://ghost2513-openai-gpt-oss-120b.hf.space`
---
## Features ## Features
- **Zero external dependencies**: Pure Go standard library (`net/http`, `encoding/json`, `bufio`, etc.). - **Zero external dependencies**: Pure Go standard library (`net/http`, `encoding/json`, `bufio`, etc.).
@@ -38,7 +36,11 @@ Default demo space: `https://ghost2513-openai-gpt-oss-120b.hf.space`
- **Fibonacci retry engine**: - **Fibonacci retry engine**:
- Resilient backoff retry mechanism (1s, 1s, 2s, 3s, 5s) for transient network hiccups. - Resilient backoff retry mechanism (1s, 1s, 2s, 3s, 5s) for transient network hiccups.
--- ## Installation
```bash
go install code.luxferre.top/luxferre/gr2gw@latest
```
## Build ## Build
@@ -53,8 +55,6 @@ To run tests:
make test make test
``` ```
---
## Usage ## Usage
### Quick start ### Quick start
@@ -90,8 +90,6 @@ With SOCKS5 proxy:
- `GRADIO_SPACE_URL`: default Gradio space URL fallback. - `GRADIO_SPACE_URL`: default Gradio space URL fallback.
- `ALL_PROXY`, `SOCKS5_PROXY`, `SOCKS_PROXY`: default SOCKS5 proxy URL fallback. - `ALL_PROXY`, `SOCKS5_PROXY`, `SOCKS_PROXY`: default SOCKS5 proxy URL fallback.
---
## API examples ## API examples
### List models ### List models
@@ -250,8 +248,6 @@ curl http://localhost:8080/v1/chat/completions \
}' }'
``` ```
--- ## Credits
## License Created by Luxferre in 2026, released into the public domain with no warranties.
Released into the public domain under Creative Commons Zero (CC0) or Unlicense.
+2 -1
View File
@@ -1,3 +1,4 @@
module gr2gw module code.luxferre.top/luxferre/gr2gw
go 1.26 go 1.26