Skip to content
This repository has been archived by the owner on Jan 3, 2021. It is now read-only.

api添加入口如何指定Protocol #98

Open
zzxap opened this issue Nov 26, 2020 · 1 comment
Open

api添加入口如何指定Protocol #98

zzxap opened this issue Nov 26, 2020 · 1 comment

Comments

@zzxap
Copy link

zzxap commented Nov 26, 2020

core.InboundHandlerConfig{
Tag: tag,
ReceiverSettings: serial.ToTypedMessage(&proxyman.ReceiverConfig{
PortRange: v2raynet.SinglePortRange(v2raynet.Port(iport)),
Listen: v2raynet.NewIPOrDomain(v2raynet.ParseAddress(ip)),
}),
ProxySettings: serial.ToTypedMessage(&dokodemo.Config{
Address: v2raynet.NewIPOrDomain(v2raynet.ParseAddress(proxyIp)),
Port: uint32(iproxyPort),
Networks: []v2raynet.Network{v2raynet.Network_TCP},
}),
}

InboundHandlerConfig的结构体没有指定protocol的字段。
如果要添加socks的入口,要怎样写config?

@github-actions
Copy link

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 5 days

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant