| 13 | ) |
| 14 | |
| 15 | type Proxy interface { |
| 16 | StartProxy() |
| 17 | StopProxy() |
| 18 | |
| 19 | ReceiveDataCallback(int64) |
| 20 | SendDataCallback(int64) |
| 21 | GetProxyType() string |
| 22 | GetStatus() string |
| 23 | GetListenIP() string |
| 24 | GetListenPort() int |
| 25 | GetKey() string |
| 26 | GetCurrentConnections() int64 |
| 27 | |
| 28 | String() string |
| 29 | GetTrafficIn() int64 |
| 30 | GetTrafficOut() int64 |
| 31 | SafeCheck(ip string) bool |
| 32 | } |
| 33 | |
| 34 | type RelayRuleOptions struct { |
| 35 | UDPPackageSize int `json:"UDPPackageSize,omitempty"` |
nothing calls this directly
no outgoing calls
no test coverage detected