Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HandlerFactory ¶
type HandlerFactory struct {
DialerFactory transport.DialerFactory
Policy *policy.Policy
IPResolver i.IPResolver
IPResolverForRequestAddress i.IPResolver
EchResolver i.ECHResolver
Hysteria2RejectQuic bool
HandlerLinkStats bool
HandlerMeter bool
OutStats *outboundstats.OutStats
TotalUpCounter *atomic.Uint64
TotalDownCounter *atomic.Uint64
}
func (*HandlerFactory) CreateHandler ¶
func (c *HandlerFactory) CreateHandler(hs ...*configs.HandlerConfig) (i.Outbound, error)
type StatsOutbound ¶
func (*StatsOutbound) HandleFlow ¶
func (s *StatsOutbound) HandleFlow(ctx context.Context, dst net.Destination, rw buf.ReaderWriter) error
func (*StatsOutbound) HandlePacketConn ¶
func (s *StatsOutbound) HandlePacketConn(ctx context.Context, dst net.Destination, pc udp.PacketReaderWriter) error
func (*StatsOutbound) Support6 ¶
func (s *StatsOutbound) Support6() bool
Click to show internal directories.
Click to hide internal directories.