Skip to content

Repository files navigation

Stinger

Across the Great Wall, we can reach every corner in the world.

Build StatusGolangGitHub

Usage

下载界面下载相应平台客户端和服务端的可执行程序以及它们的配置文件。

在远程主机上启动服务程序

./stinger_server -c stinger_server.yaml

在本地启动代理客户端

./stinger_local -c stinger_local.yaml

在浏览器中进行代理设置,支持直接代理和PAC代理,建议使用PAC方式

Introduce

目录介绍

文件目录文件目录的作用
core/codec对local和server之前传输的数据进行加密
core/common一些通用的工具
core/mylog日志相关的配置
core/network对go语言的连接做了一些封装
local/assets存储了静态文件,编译前会使用statik进行打包
local/conf管理local的配置信息
local/http管理http服务器,提供相关的http服务
local/resource封装对statik生成的文本的调用
local/socks与socks协议相关的数据传输与处理
local/statik保存statik生成的文本数据
local/mainlocal的main方法
server/conf管理server的配置信息
server/mainserver的main方法
stinger_local.yaml本地进程的配置文件
stinger_server.yaml远程主机的配置文件

工作流程

Contribute

Install glide

curl https://glide.sh/get | sh

Install statik

go get -d github.com/rakyll/statik
go install github.com/rakyll/statik

Install dependencies

glide install

Build

./build.sh

About

Across the Great Wall, we can reach every corner in the world.

Topics

Resources

Stars

84 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages