Documentation
¶
Index ¶
- func DialerFactory(config *configs.TmConfig, fc *Builder, client *client.Client) error
- func Handler(config *configs.TmConfig, fc *Builder, cc *client.Client) error
- func Netmon(config *configs.TmConfig, builder *Builder, client *client.Client) error
- func NewDNS(config *configs.TmConfig, fc *Builder, client *client.Client) error
- func NewInterfaceMonotor(name string, f *Builder) (i.DefaultInterfaceInfo, error)
- func NewSysProxy(cfg *configs.SysProxyConfig, f *Builder) error
- func NewTunGvisorInbound(config *configs.TunConfig, f *Builder, rejector *reject.TCPReject, ...) error
- func NewTunSystemInbound(device tun.TunDeviceWithInfo, tag string, handler i.Handler, dnsConns *dns.Dns, ...) (*system.TunSystemInbound, error)
- func NewX(config *configs.TmConfig, opts ...Option) (*client.Client, error)
- func Tun(config *configs.TmConfig, fc *Builder, client *client.Client) error
- func TunConfigToTunOption(config *configs.TunDeviceConfig) (*tun.TunOption, error)
- func Wfp(config *configs.WfpConfig, f *Builder) error
- type Builder
- type Option
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DialerFactory ¶
func NewInterfaceMonotor ¶
func NewInterfaceMonotor(name string, f *Builder) (i.DefaultInterfaceInfo, error)
func NewSysProxy ¶
func NewSysProxy(cfg *configs.SysProxyConfig, f *Builder) error
func NewTunGvisorInbound ¶
func NewTunSystemInbound ¶
func TunConfigToTunOption ¶
func TunConfigToTunOption(config *configs.TunDeviceConfig) (*tun.TunOption, error)
Types ¶
type Option ¶
func WithComponents ¶
func WithComponents(components ...interface{}) Option
func WithFeatures ¶
func WithFeatures(features ...interface{}) Option
Click to show internal directories.
Click to hide internal directories.