Documentation ¶
Overview ¶
Package xproxy contains the implementation of the proxy service.
Design document at https://docs.google.com/document/d/1ONrnxGhOrA8pd0pK0aN5Ued2Q1Eju4zn7vlLt9nzIRA/edit?usp=sharing
Index ¶
- Variables
- func New(ctx *context.T, name string, auth security.Authorizer) (*proxy, error)
- func NewErrFailedToResolveToEndpoint(ctx *context.T, name string) error
- func NewErrNotListening(ctx *context.T) error
- func NewErrProxyAlreadyClosed(ctx *context.T) error
- func NewErrProxyResponse(ctx *context.T, msg string) error
- func NewErrUnexpectedMessage(ctx *context.T, msgType string) error
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNotListening = verror.Register("v.io/x/ref/services/xproxy/xproxy.NotListening", verror.NoRetry, "{1:}{2:} Proxy is not listening on any endpoints.") ErrUnexpectedMessage = verror.Register("v.io/x/ref/services/xproxy/xproxy.UnexpectedMessage", verror.NoRetry, "{1:}{2:} Unexpected message of type{:3}") ErrFailedToResolveToEndpoint = verror.Register("v.io/x/ref/services/xproxy/xproxy.FailedToResolveToEndpoint", verror.NoRetry, "{1:}{2:} Failed to resolve '{3}' to endpoint") ErrProxyAlreadyClosed = verror.Register("v.io/x/ref/services/xproxy/xproxy.ProxyAlreadyClosed", verror.NoRetry, "{1:}{2:} Proxy has already been closed") ErrProxyResponse = verror.Register("v.io/x/ref/services/xproxy/xproxy.ProxyResponse", verror.NoRetry, "{1:}{2:} proxy returned{:3}") )
Functions ¶
func NewErrFailedToResolveToEndpoint ¶
NewErrFailedToResolveToEndpoint returns an error with the ErrFailedToResolveToEndpoint ID.
func NewErrNotListening ¶
NewErrNotListening returns an error with the ErrNotListening ID.
func NewErrProxyAlreadyClosed ¶
NewErrProxyAlreadyClosed returns an error with the ErrProxyAlreadyClosed ID.
func NewErrProxyResponse ¶
NewErrProxyResponse returns an error with the ErrProxyResponse ID.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.