MCPcopy
hub / github.com/gdy666/lucky / Proxy

Interface Proxy

socketproxy/proxy.go:15–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13)
14
15type 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
34type RelayRuleOptions struct {
35 UDPPackageSize int `json:"UDPPackageSize,omitempty"`

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected