Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BlackHole ¶
type BlackHole struct {
// contains filtered or unexported fields
}
BlackHole is an outbound connection that sliently swallow the entire payload.
func NewBlackHole ¶
func (*BlackHole) Dispatch ¶
func (this *BlackHole) Dispatch(destination v2net.Destination, payload *alloc.Buffer, ray ray.OutboundRay) error
type Factory ¶ added in v1.18.1
type Factory struct{}
func (*Factory) Create ¶ added in v1.18.1
func (this *Factory) Create(space app.Space, config interface{}, meta *proxy.OutboundHandlerMeta) (proxy.OutboundHandler, error)
func (*Factory) StreamCapability ¶ added in v1.18.1
func (this *Factory) StreamCapability() internet.StreamConnectionType
type HTTPResponse ¶ added in v1.18.1
type HTTPResponse struct { }
func (*HTTPResponse) WriteTo ¶ added in v1.18.1
func (this *HTTPResponse) WriteTo(writer v2io.Writer)
type NoneResponse ¶ added in v1.18.1
type NoneResponse struct{}
func (*NoneResponse) WriteTo ¶ added in v1.18.1
func (this *NoneResponse) WriteTo(writer v2io.Writer)
Click to show internal directories.
Click to hide internal directories.