Documentation ¶
Index ¶
Constants ¶
View Source
const SO_ORIGINAL_DST = 80
Variables ¶
This section is empty.
Functions ¶
func GetOriginalDestination ¶
func GetOriginalDestination(conn internet.Connection) v2net.Destination
Types ¶
type DokodemoDoor ¶
type DokodemoDoor struct {
// contains filtered or unexported fields
}
func NewDokodemoDoor ¶
func NewDokodemoDoor(config *Config, space app.Space, meta *proxy.InboundHandlerMeta) *DokodemoDoor
func (*DokodemoDoor) Close ¶
func (this *DokodemoDoor) Close()
func (*DokodemoDoor) HandleTCPConnection ¶
func (this *DokodemoDoor) HandleTCPConnection(conn internet.Connection)
func (*DokodemoDoor) ListenTCP ¶
func (this *DokodemoDoor) ListenTCP() error
func (*DokodemoDoor) ListenUDP ¶
func (this *DokodemoDoor) ListenUDP() error
func (*DokodemoDoor) Port ¶
func (this *DokodemoDoor) Port() v2net.Port
func (*DokodemoDoor) Start ¶
func (this *DokodemoDoor) Start() error
type Factory ¶
type Factory struct{}
func (*Factory) Create ¶
func (this *Factory) Create(space app.Space, rawConfig interface{}, meta *proxy.InboundHandlerMeta) (proxy.InboundHandler, error)
func (*Factory) StreamCapability ¶
func (this *Factory) StreamCapability() internet.StreamConnectionType
Click to show internal directories.
Click to hide internal directories.