util

package
v0.0.0-...-ae8e442 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 5, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatLog

func FormatLog(host string, oid string, message string) string

FormatLog returns the message in the pattern that the developer wants.

func ValidateMAC

func ValidateMAC(bytes []byte) string

ValidateMAC checks if the []byte passed is a Mac Address and if so, checks to see if it is valid. ParseMAC parses s as an IEEE 802 MAC-48, EUI-48, EUI-64, or a 20-octet

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL