mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-07 05:47:36 +03:00
refactor: Modular inbounds
This commit is contained in:
parent
0b2c7ec35c
commit
47736b27ba
90 changed files with 2353 additions and 1919 deletions
|
@ -37,7 +37,7 @@ func TestMuxCoolServer(t *testing.T) {
|
|||
})
|
||||
|
||||
startInstance(t, option.Options{
|
||||
Inbounds: []option.Inbound{
|
||||
Inbounds: []option.LegacyInbound{
|
||||
{
|
||||
Type: C.TypeVMess,
|
||||
VMessOptions: option.VMessInboundOptions{
|
||||
|
@ -81,7 +81,7 @@ func TestMuxCoolClient(t *testing.T) {
|
|||
})
|
||||
|
||||
startInstance(t, option.Options{
|
||||
Inbounds: []option.Inbound{
|
||||
Inbounds: []option.LegacyInbound{
|
||||
{
|
||||
Type: C.TypeMixed,
|
||||
MixedOptions: option.HTTPMixedInboundOptions{
|
||||
|
@ -112,7 +112,7 @@ func TestMuxCoolClient(t *testing.T) {
|
|||
func TestMuxCoolSelf(t *testing.T) {
|
||||
user := newUUID()
|
||||
startInstance(t, option.Options{
|
||||
Inbounds: []option.Inbound{
|
||||
Inbounds: []option.LegacyInbound{
|
||||
{
|
||||
Type: C.TypeMixed,
|
||||
Tag: "mixed-in",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue