1 Star 0 Fork 0

葱先生/gosnmp

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
snmpv3privprotocol_string.go 841 Bytes
一键复制 编辑 原始数据 按行查看 历史
// Code generated by "stringer -type=SnmpV3PrivProtocol"; DO NOT EDIT.
package gosnmp
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[NoPriv-1]
_ = x[DES-2]
_ = x[AES-3]
_ = x[AES192-4]
_ = x[AES256-5]
_ = x[AES192C-6]
_ = x[AES256C-7]
}
const _SnmpV3PrivProtocol_name = "NoPrivDESAESAES192AES256AES192CAES256C"
var _SnmpV3PrivProtocol_index = [...]uint8{0, 6, 9, 12, 18, 24, 31, 38}
func (i SnmpV3PrivProtocol) String() string {
i -= 1
if i >= SnmpV3PrivProtocol(len(_SnmpV3PrivProtocol_index)-1) {
return "SnmpV3PrivProtocol(" + strconv.FormatInt(int64(i+1), 10) + ")"
}
return _SnmpV3PrivProtocol_name[_SnmpV3PrivProtocol_index[i]:_SnmpV3PrivProtocol_index[i+1]]
}
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/himrcong/gosnmp.git
git@gitee.com:himrcong/gosnmp.git
himrcong
gosnmp
gosnmp
master

搜索帮助