import "v.io/x/ref/services/xproxy/xproxy"
Package xproxy contains the implementation of the proxy service.
Design document at https://docs.google.com/document/d/1ONrnxGhOrA8pd0pK0aN5Ued2Q1Eju4zn7vlLt9nzIRA/edit?usp=sharing
nolint:golint
proxy.go util.go xproxy.vdl.go
var ( ErrNotListening = verror.NewIDAction("v.io/x/ref/services/xproxy/xproxy.NotListening", verror.NoRetry) ErrUnexpectedMessage = verror.NewIDAction("v.io/x/ref/services/xproxy/xproxy.UnexpectedMessage", verror.NoRetry) ErrFailedToResolveToEndpoint = verror.NewIDAction("v.io/x/ref/services/xproxy/xproxy.FailedToResolveToEndpoint", verror.NoRetry) ErrProxyAlreadyClosed = verror.NewIDAction("v.io/x/ref/services/xproxy/xproxy.ProxyAlreadyClosed", verror.NoRetry) ErrProxyResponse = verror.NewIDAction("v.io/x/ref/services/xproxy/xproxy.ProxyResponse", verror.NoRetry) )
ErrorfFailedToResolveToEndpoint calls ErrFailedToResolveToEndpoint.Errorf with the supplied arguments.
ErrorfNotListening calls ErrNotListening.Errorf with the supplied arguments.
ErrorfProxyAlreadyClosed calls ErrProxyAlreadyClosed.Errorf with the supplied arguments.
ErrorfProxyResponse calls ErrProxyResponse.Errorf with the supplied arguments.
ErrorfUnexpectedMessage calls ErrUnexpectedMessage.Errorf with the supplied arguments.
MessageFailedToResolveToEndpoint calls ErrFailedToResolveToEndpoint.Message with the supplied arguments.
MessageNotListening calls ErrNotListening.Message with the supplied arguments.
MessageProxyAlreadyClosed calls ErrProxyAlreadyClosed.Message with the supplied arguments.
MessageProxyResponse calls ErrProxyResponse.Message with the supplied arguments.
MessageUnexpectedMessage calls ErrUnexpectedMessage.Message with the supplied arguments.
func ParamsErrFailedToResolveToEndpoint(argumentError error) (verrorComponent string, verrorOperation string, name string, returnErr error)
ParamsErrFailedToResolveToEndpoint extracts the expected parameters from the error's ParameterList.
func ParamsErrNotListening(argumentError error) (verrorComponent string, verrorOperation string, returnErr error)
ParamsErrNotListening extracts the expected parameters from the error's ParameterList.
func ParamsErrProxyAlreadyClosed(argumentError error) (verrorComponent string, verrorOperation string, returnErr error)
ParamsErrProxyAlreadyClosed extracts the expected parameters from the error's ParameterList.
func ParamsErrProxyResponse(argumentError error) (verrorComponent string, verrorOperation string, msg string, returnErr error)
ParamsErrProxyResponse extracts the expected parameters from the error's ParameterList.
func ParamsErrUnexpectedMessage(argumentError error) (verrorComponent string, verrorOperation string, msgType string, returnErr error)
ParamsErrUnexpectedMessage extracts the expected parameters from the error's ParameterList.
type Proxy struct {
// contains filtered or unexported fields
}
Proxy represents an instance of a proxy service.
New returns a new instance of Proxy.
Closed returns a channel that will be closed when the proxy is shutdown.
ListeningEndpoints returns the endpoints the proxy is listening on.
Package xproxy imports 16 packages (graph) and is imported by 5 packages. Updated 2020-12-10. Refresh now. Tools for package owners.