featurebase/msgtype_string.go
2018-11-09 11:28:53 -06:00

16 lines
819 B
Go

// Code generated by "stringer -type=msgType"; DO NOT EDIT.
package pilosa
import "strconv"
const _msgType_name = "messageTypeCreateShardmessageTypeCreateIndexmessageTypeDeleteIndexmessageTypeCreateFieldmessageTypeDeleteFieldmessageTypeCreateViewmessageTypeDeleteViewmessageTypeClusterStatusmessageTypeResizeInstructionmessageTypeResizeInstructionCompletemessageTypeSetCoordinatormessageTypeUpdateCoordinatormessageTypeNodeStatemessageTypeRecalculateCachesmessageTypeNodeEventmessageTypeNodeStatus"
var _msgType_index = [...]uint16{0, 22, 44, 66, 88, 110, 131, 152, 176, 204, 240, 265, 293, 313, 341, 361, 382}
func (i msgType) String() string {
if i >= msgType(len(_msgType_index)-1) {
return "msgType(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _msgType_name[_msgType_index[i]:_msgType_index[i+1]]
}