mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-12-28 21:15:46 -05:00
Add Port as a type
This commit is contained in:
@@ -11,7 +11,7 @@ var (
|
||||
|
||||
// Strategy is a way to retry on a specific function.
|
||||
type Strategy interface {
|
||||
// On performs a retry on a specific function, until it doesn't return any error.
|
||||
// On performs a retry on a specific function, until it doesn't return any error.
|
||||
On(func() error) error
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user