gosmi:解析MIB,因此您不必!

时间:2021-05-04 16:45:33
【文件属性】:
文件名称:gosmi:解析MIB,因此您不必!
文件大小:70KB
文件格式:ZIP
更新时间:2021-05-04 16:45:33
go golang snmp mib smi 高斯米 从v0.2.0开始,该库是本机Go,不再是libsmi的包装器。 目前实施非常接近,但将来可能会改变。 对于本机实现,添加了两个附加组件: 解析器中的SMIv1 / 2 与libsmi兼容的Go实现 用法 在适用于v0.1.0及更低版本的Ubuntu上: $ sudo apt-get install libsmi2-dev 例子 现在可以在以下示例中找到示例:
【文件预览】:
gosmi-master
----table.go(3KB)
----go.mod(166B)
----type.go(3KB)
----models()
--------type.go(4KB)
--------format_octetstring.go(5KB)
--------module.go(380B)
--------nodes.go(1KB)
--------format_int.go(1KB)
--------format_duration.go(2KB)
--------format_string.go(2KB)
--------format_bits.go(2KB)
--------format_enum.go(614B)
--------format.go(4KB)
--------node.go(294B)
----go.sum(2KB)
----module.go(3KB)
----types()
--------smi.go(2KB)
--------indexkind_string.go(2KB)
--------access.go(289B)
--------basetype_string.go(2KB)
--------render.go(233B)
--------indexkind.go(202B)
--------decl_string.go(3KB)
--------basetype.go(358B)
--------nodekind.go(306B)
--------language.go(195B)
--------decl.go(669B)
--------oid.go(2KB)
--------render_string.go(2KB)
--------access_string.go(2KB)
--------language_string.go(2KB)
--------identifier.go(221B)
--------status_string.go(2KB)
--------nodekind_string.go(3KB)
--------status.go(210B)
----LICENSE(1KB)
----parser()
--------sub_type.go(2KB)
--------object_test.go(3KB)
--------object.go(3KB)
--------type.go(2KB)
--------parser.go(2KB)
--------module.go(3KB)
--------module_test.go(1012B)
--------compliance.go(4KB)
--------macro.go(2KB)
--------notification_test.go(1KB)
--------notification.go(1KB)
--------common.go(3KB)
----README.md(532B)
----notification.go(577B)
----smi()
--------type.go(2KB)
--------type_named_number.go(1KB)
--------render.go(1KB)
--------node_element.go(1KB)
--------module.go(2KB)
--------module_import.go(1KB)
--------macro.go(2KB)
--------internal()
--------type_range.go(3KB)
--------node_option.go(1KB)
--------module_revision.go(1KB)
--------config.go(3KB)
--------node.go(6KB)
--------node_refinement.go(2KB)
----.gitignore(275B)
----cmd()
--------parse()
--------embed()
--------smi()
----config.go(854B)
----node.go(2KB)

网友评论