go build -o ./plugin.so -buildmode=plugin ./plugin.go
go test ./
#output
hi there!
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -fsSL https://get.docker.com | bash | |
curl -L "https://github.com/docker/compose/releases/download/1.25.3/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose | |
chmod a+x /usr/local/bin/docker-compose | |
# 创建个软链接,以后用 dc 命令来代替 docker-compose | |
rm -rf `which dc` # 若系统中存在 dc 则删除,这个 dc 就是个计算器,完全没有用 | |
ln -s /usr/local/bin/docker-compose /usr/bin/dc |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 你的其它配置 | |
// VLESS + WS + TLS | |
// docker-compose.yml 在这里 https://github.com/ColetteContreras/v2ray-poseidon/tree/master/docker/sspanel/ws-tls | |
"inbounds": [ | |
{ | |
"port": 443, | |
"protocol": "vless", | |
"streamSettings": { | |
"network": "ws", |