crashreport

package
v0.0.0-...-8f37b9b Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Rendered for windows/amd64

Overview

Package crashreport provides shared helpers for recording crash detection state

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WinCrashReporter

type WinCrashReporter struct {
	// contains filtered or unexported fields
}

WinCrashReporter is the helper object for getting/storing crash state

func NewWinCrashReporter

func NewWinCrashReporter(hive registry.Key, key string) (*WinCrashReporter, error)

NewWinCrashReporter creates the object for checking/setting the windows crash registry keys

func (*WinCrashReporter) CheckForCrash

func (wcr *WinCrashReporter) CheckForCrash() (*probe.WinCrashStatus, error)

CheckForCrash uses the system probe crash module to check for a crash

Jump to

Keyboard shortcuts

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