vuvuzela/msgtype_string.go

17 lines
510 B
Go

// generated by stringer -type=MsgType; DO NOT EDIT
package vuvuzela
import "fmt"
const _MsgType_name = "MsgConvoRequestMsgDialRequestMsgBadRequestErrorMsgConvoErrorMsgConvoResponseMsgDialErrorMsgDialBucketMsgAnnounceConvoRoundMsgAnnounceDialRound"
var _MsgType_index = [...]uint8{0, 15, 29, 47, 60, 76, 88, 101, 122, 142}
func (i MsgType) String() string {
if i >= MsgType(len(_MsgType_index)-1) {
return fmt.Sprintf("MsgType(%d)", i)
}
return _MsgType_name[_MsgType_index[i]:_MsgType_index[i+1]]
}