Documentation ¶ Overview ¶ Package dmesg provides the functionality to poll the dmesg log. Index ¶ func ParseCtimeWithError(line []byte) (time.Time, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func ParseCtimeWithError ¶ func ParseCtimeWithError(line []byte) (time.Time, error) Parses the timestamp from "dmesg --ctime" output lines. Returns a zero time if the timestamp is not found or the timestamp is invalid. Returns an error if the timestamp is not found or the timestamp is invalid. Types ¶ This section is empty. Source Files ¶ View all Source files dmesg.go Click to show internal directories. Click to hide internal directories.