Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type OID ¶
type OID []uint32
OID defines an OID.
func MustParseOID ¶
MustParseOID works like ParseOID expect it panics on a parsing error.
func ParseOID ¶
ParseOID parses the provided string and returns a valid oid. If one of the subidentifers canot be parsed to an uint32, the function will panic.
func (OID) CommonPrefix ¶
CommonPrefix compares the oid with the provided one and returns a new oid containing all matching prefix subidentifiers.
Click to show internal directories.
Click to hide internal directories.