go-tunnel/protocol.go

15 lines
219 B
Go

package tunnel
type authRequest struct {
Credentials interface{} `json:"c"`
}
type authResponse struct {
Success bool `json:"b"`
}
type proxyRequest struct {
Network string `json:"n"`
Address string `json:"a"`
}