2018-02-08 23:39:46 +01:00
|
|
|
// Code generated by "stringer -type=DataType"; DO NOT EDIT.
|
|
|
|
|
|
|
|
package rpc
|
|
|
|
|
2018-04-01 15:30:04 +02:00
|
|
|
import "strconv"
|
2018-02-08 23:39:46 +01:00
|
|
|
|
|
|
|
const _DataType_name = "DataTypeNoneDataTypeControlDataTypeMarshaledJSONDataTypeOctets"
|
|
|
|
|
|
|
|
var _DataType_index = [...]uint8{0, 12, 27, 48, 62}
|
|
|
|
|
|
|
|
func (i DataType) String() string {
|
|
|
|
i -= 1
|
|
|
|
if i >= DataType(len(_DataType_index)-1) {
|
2018-04-01 15:30:04 +02:00
|
|
|
return "DataType(" + strconv.FormatInt(int64(i+1), 10) + ")"
|
2018-02-08 23:39:46 +01:00
|
|
|
}
|
|
|
|
return _DataType_name[_DataType_index[i]:_DataType_index[i+1]]
|
|
|
|
}
|