blob: 9364c85f6897ff40e0303a8ed04233848548a6a7 [file] [log] [blame]
// This file was auto-generated by the veyron vdl tool.
// Source: protocol.vdl
package proxy
import (
// The non-user imports are prefixed with "__" to prevent collisions.
__vdl "v.io/veyron/veyron2/vdl"
)
// Request is the message sent by a server to request that the proxy route
// traffic intended for the server's RoutingID to the network connection
// between the server and the proxy.
type Request struct {
}
func (Request) __VDLReflect(struct {
Name string "v.io/veyron/veyron/runtimes/google/ipc/stream/proxy.Request"
}) {
}
// Response is sent by the proxy to the server after processing Request.
type Response struct {
// Error is a description of why the proxy refused to proxy the server.
// A nil error indicates that the proxy will route traffic to the server.
Error error
// Endpoint is the string representation of an endpoint that can be
// used to communicate with the server through the proxy.
Endpoint string
}
func (Response) __VDLReflect(struct {
Name string "v.io/veyron/veyron/runtimes/google/ipc/stream/proxy.Response"
}) {
}
func init() {
__vdl.Register(Request{})
__vdl.Register(Response{})
}