github.com/minio/minio@v0.0.0-20240328213742-3f72439b8a27/internal/grid/debugmsg_string.go (about) 1 // Code generated by "stringer -type=debugMsg debug.go"; DO NOT EDIT. 2 3 package grid 4 5 import "strconv" 6 7 func _() { 8 // An "invalid array index" compiler error signifies that the constant values have changed. 9 // Re-run the stringer command to generate them again. 10 var x [1]struct{} 11 _ = x[debugShutdown-0] 12 _ = x[debugKillInbound-1] 13 _ = x[debugKillOutbound-2] 14 _ = x[debugWaitForExit-3] 15 _ = x[debugSetConnPingDuration-4] 16 _ = x[debugSetClientPingDuration-5] 17 _ = x[debugAddToDeadline-6] 18 _ = x[debugIsOutgoingClosed-7] 19 } 20 21 const _debugMsg_name = "debugShutdowndebugKillInbounddebugKillOutbounddebugWaitForExitdebugSetConnPingDurationdebugSetClientPingDurationdebugAddToDeadlinedebugIsOutgoingClosed" 22 23 var _debugMsg_index = [...]uint8{0, 13, 29, 46, 62, 86, 112, 130, 151} 24 25 func (i debugMsg) String() string { 26 if i < 0 || i >= debugMsg(len(_debugMsg_index)-1) { 27 return "debugMsg(" + strconv.FormatInt(int64(i), 10) + ")" 28 } 29 return _debugMsg_name[_debugMsg_index[i]:_debugMsg_index[i+1]] 30 }