# README
trojan-go
implement trojan protocol in golang
- run type
- server
- client
- forward
- relay
- tcp
- udp
- autocert
- ZeroSSL with cf DNS
- other
- website
docker compose
version: '3'
services:
trojan:
image: ghcr.io/togls/trojan-go:master
ports:
- 443:443
volumes:
- certs:/root/.local/share
- /path/to/site:/var/www/site
- /path/to/config.json:/etc/trojan-go/config.json
volumes:
certs:
# Functions
No description provided by the author
No description provided by the author
No description provided by the author
ParseAddr parses the address in string s.
No description provided by the author
ReadAddr reads just enough bytes from r to get a valid Addr.
SplitAddr slices a SOCKS address from beginning of b.
No description provided by the author
# Constants
SOCKS address types as defined in RFC 1928 section 5.
SOCKS address types as defined in RFC 1928 section 5.
SOCKS address types as defined in RFC 1928 section 5.
SOCKS request commands as defined in RFC 1928 section 4.
SOCKS request commands as defined in RFC 1928 section 4.
SOCKS request commands as defined in RFC 1928 section 4.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
SOCKS errors as defined in RFC 1928 section 6.
MaxAddrLen is the maximum size of SOCKS address in bytes.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Interfaces
No description provided by the author