Skip to content

Commit

Permalink
Merge branch 'main' into fortuna-quic
Browse files Browse the repository at this point in the history
  • Loading branch information
fortuna committed Nov 1, 2024
2 parents 3e1442c + c4b0461 commit ad2492d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions x/configurl/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ DPI Evasion - To add packet splitting to a Shadowsocks server for enhanced DPI e
Defining custom strategies - You can define your custom strategy by implementing and registering [BuildFunc[ObjectType]] functions:
// Create new config parser.
// p := new(ConfigModule)
// p := configurl.NewProviderContainer()
// or
p := NewDefaultConfigModule()
p := configurl.NewDefaultProviders()
// Register your custom dialer.
p.StreamDialers.RegisterType("custom", func(ctx context.Context, config *Config) (transport.StreamDialer, error) {
// Build logic
Expand Down

0 comments on commit ad2492d

Please sign in to comment.