Add VLESS server, vision flow and reality TLS

This commit is contained in:
世界
2023-02-25 16:24:08 +08:00
committed by GitHub
parent 21ba99a66b
commit dc5bb1fa9d
40 changed files with 2486 additions and 120 deletions

View File

@@ -42,6 +42,8 @@ func New(ctx context.Context, router adapter.Router, logger log.ContextLogger, o
return NewHysteria(ctx, router, logger, options.Tag, options.HysteriaOptions)
case C.TypeShadowTLS:
return NewShadowTLS(ctx, router, logger, options.Tag, options.ShadowTLSOptions)
case C.TypeVLESS:
return NewVLESS(ctx, router, logger, options.Tag, options.VLESSOptions)
default:
return nil, E.New("unknown inbound type: ", options.Type)
}