go-tunnel/control/proxy.go

12 lines
203 B
Go

package control
type ProxyRequestPayload struct {
RequestID int64 `json:"i"`
Network string `json:"n"`
Address string `json:"a"`
}
type CloseProxyPayload struct {
RequestID int64 `json:"i"`
}