mirror of
https://github.com/Sagit-chu/flvx.git
synced 2026-10-03 09:06:36 +08:00
f01c0481cd
- Update root AGENTS.md with expanded anti-patterns and notes - Add handler/AGENTS.md for high-complexity backend handlers - Add connector/AGENTS.md for GOST connector protocols - Add socket/AGENTS.md for GOST socket utilities
40 lines
1005 B
Markdown
40 lines
1005 B
Markdown
# GOST CONNECTOR KNOWLEDGE BASE
|
|
|
|
**Generated:** Fri Feb 13 2026
|
|
|
|
## OVERVIEW
|
|
Connection initiators (clients) for various protocols in GOST forwarding.
|
|
**Stack:** Go, GOST core.
|
|
|
|
## STRUCTURE
|
|
```
|
|
connector/
|
|
├── direct/ # Direct connection
|
|
├── forward/ # Forward proxy
|
|
├── http/ # HTTP connector
|
|
├── http2/ # HTTP/2 connector
|
|
├── relay/ # Relay protocol
|
|
├── router/ # Router connector
|
|
├── serial/ # Serial port
|
|
├── sni/ # SNI routing
|
|
├── socks/ # SOCKS4/5
|
|
├── ss/ # Shadowsocks
|
|
├── sshd/ # SSH daemon
|
|
├── tcp/ # TCP connector
|
|
├── tunnel/ # Tunnel mode
|
|
└── unix/ # Unix socket
|
|
```
|
|
|
|
## CONVENTIONS
|
|
- Inherits from parent `go-gost/x/` conventions.
|
|
- Each subdir implements `Connector` interface from GOST core.
|
|
|
|
## ANTI-PATTERNS
|
|
- DO NOT EDIT generated protobuf in `go-gost/x/internal/util/grpc/proto/`.
|
|
|
|
## COMMANDS
|
|
```bash
|
|
cd go-gost
|
|
go test ./x/connector/...
|
|
```
|