mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-11-07 17:33:04 -08:00
Add Port as a type
This commit is contained in:
1 parent
e8e6cf1429
commit
cee85bdf26
16 files changed
+125
-98
No files matched your search
@@ -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