- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for interfaces (0.16 sec)
-
cmd/utils.go
return ioutilx.ReadFile(fn) } default: return nil, errors.New("profiler type unknown") } return prof, nil } // minioProfiler - minio profiler interface. type minioProfiler interface { // Return recorded profiles, each profile associated with a distinct generic name. Records() map[string][]byte // Stop the profiler Stop() ([]byte, error) // Return extension of profile
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed May 01 15:18:21 GMT 2024 - 31.4K bytes - Viewed (0) -
docs/debugging/inspect/utils.go
} // Try Raw, return error return x509.ParsePKCS1PrivateKey(priv) } func fatalErr(err error) { if err == nil { return } log.Fatalln(err) } func fatalIf(b bool, msg string, v ...interface{}) { if !b { return } log.Fatalf(msg, v...)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Nov 02 20:36:38 GMT 2022 - 1.4K bytes - Viewed (0) -
internal/logger/utils.go
"net/http" "regexp" "runtime" "github.com/minio/minio/internal/color" ) var ansiRE = regexp.MustCompile("(\x1b[^m]*m)") // Print ANSI Control escape func ansiEscape(format string, args ...interface{}) { Esc := "\x1b" fmt.Printf("%s%s", Esc, fmt.Sprintf(format, args...)) } func ansiMoveRight(n int) { if runtime.GOOS == "windows" { return } if color.IsTerminal() { ansiEscape("[%dC", n)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Aug 04 23:10:08 GMT 2022 - 1.7K bytes - Viewed (0)