platform: Improve local DNS transport
This commit is contained in:
@@ -35,3 +35,11 @@ func Version() string {
|
||||
func FormatBytes(length int64) string {
|
||||
return humanize.IBytes(uint64(length))
|
||||
}
|
||||
|
||||
type Func interface {
|
||||
Invoke() error
|
||||
}
|
||||
|
||||
type BoolFunc interface {
|
||||
Invoke() bool
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user