28 lines
690 B
Go
28 lines
690 B
Go
// Code generated by "stringer -type=AEType -trimprefix AE"; DO NOT EDIT.
|
|
|
|
package tlv
|
|
|
|
import "strconv"
|
|
|
|
func _() {
|
|
// An "invalid array index" compiler error signifies that the constant values have changed.
|
|
// Re-run the stringer command to generate them again.
|
|
var x [1]struct{}
|
|
_ = x[AEWildcard-0]
|
|
_ = x[AEIPv4-1]
|
|
_ = x[AEIPv6-2]
|
|
_ = x[AEIPv6LL-3]
|
|
_ = x[AEIPv4oIPv6-4]
|
|
}
|
|
|
|
const _AEType_name = "WildcardIPv4IPv6IPv6LLIPv4oIPv6"
|
|
|
|
var _AEType_index = [...]uint8{0, 8, 12, 16, 22, 31}
|
|
|
|
func (i AEType) String() string {
|
|
if i >= AEType(len(_AEType_index)-1) {
|
|
return "AEType(" + strconv.FormatInt(int64(i), 10) + ")"
|
|
}
|
|
return _AEType_name[_AEType_index[i]:_AEType_index[i+1]]
|
|
}
|