HTTP / S上的基本Pub / Sub HTTP Pub Sub这是一个HTTPS服务器,具有基于URL路径的阻止读写管道。 实际上,它只是通过通道连接的路径。 安装git clone go build go build -ldflags =“-s -w”运行您可以使用以下一些选项来运行它。 要在后台运行,请使用nohup和某些重定向./httpubsub --port = 8080 ./httpubsub --port = 8080 --cert = [某些文件] --cert-key = [某些其他文件] nohup ./httpubsub 2 >&1> httpubsub.log和灵感用户@anderspitman发布了aw