Add back urltest outbound

This commit is contained in:
世界
2022-09-15 15:22:08 +08:00
parent 4d24cf5ec4
commit a5402ffb69
16 changed files with 434 additions and 45 deletions

View File

@@ -47,6 +47,8 @@ func New(ctx context.Context, router adapter.Router, logger log.ContextLogger, o
return NewVLESS(ctx, router, logger, options.Tag, options.VLESSOptions)
case C.TypeSelector:
return NewSelector(router, logger, options.Tag, options.SelectorOptions)
case C.TypeURLTest:
return NewURLTest(router, logger, options.Tag, options.URLTestOptions)
default:
return nil, E.New("unknown outbound type: ", options.Type)
}