Files
flvx/go-gost/x/connector/AGENTS.md
T
2026-03-20 22:15:51 +08:00

1.0 KiB

GOST CONNECTOR KNOWLEDGE BASE

Generated: Fri Mar 20 2026 Commit: f45f960 Branch: main Tag: 2.1.9-beta6

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

cd go-gost
go test ./x/connector/...