mirror of
https://github.com/SagerNet/sing-box.git
synced 2025-04-04 12:27:36 +03:00
Add basic clash api
This commit is contained in:
parent
c7fabe40ed
commit
c5b3e8b042
36 changed files with 1498 additions and 41 deletions
|
@ -139,7 +139,7 @@ func testVMessInboundWithV2Ray(t *testing.T, security string, uuid uuid.UUID, au
|
|||
})
|
||||
|
||||
startInstance(t, option.Options{
|
||||
Log: &option.LogOption{
|
||||
Log: &option.LogOptions{
|
||||
Level: "error",
|
||||
},
|
||||
Inbounds: []option.Inbound{
|
||||
|
@ -193,7 +193,7 @@ func testVMessOutboundWithV2Ray(t *testing.T, security string, uuid uuid.UUID, g
|
|||
})
|
||||
|
||||
startInstance(t, option.Options{
|
||||
Log: &option.LogOption{
|
||||
Log: &option.LogOptions{
|
||||
Level: "error",
|
||||
},
|
||||
Inbounds: []option.Inbound{
|
||||
|
@ -233,7 +233,7 @@ func testVMessSelf(t *testing.T, security string, uuid uuid.UUID, globalPadding
|
|||
clientPort := mkPort(t)
|
||||
testPort := mkPort(t)
|
||||
startInstance(t, option.Options{
|
||||
Log: &option.LogOption{
|
||||
Log: &option.LogOptions{
|
||||
Level: "error",
|
||||
},
|
||||
Inbounds: []option.Inbound{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue