Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MIBRegistry ¶
type MIBRegistry struct {
// contains filtered or unexported fields
}
MIBRegistry keeps the data for building the (OID, strings) map
func (*MIBRegistry) Load ¶
func (MIB *MIBRegistry) Load(src map[string]of.MIB) error
Load given map[oid]MIB into registry.
func (*MIBRegistry) ShortString ¶
func (MIB *MIBRegistry) ShortString(oid string) string
Return the last node to its name. Ex: 1.3.6.1.2.1.11.19 -> snmpInTraps.
func (*MIBRegistry) String ¶
func (MIB *MIBRegistry) String(oid string) string
Return display string for given OID.
Click to show internal directories.
Click to hide internal directories.