monitor

package
v1.10.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package monitor provides background wallet security monitoring daemon

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Daemon

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

Daemon manages the background wallet monitoring process

func NewDaemon

func NewDaemon(configLoader builtin.ConfigLoader) *Daemon

NewDaemon creates a new monitoring daemon

func (*Daemon) GetPID

func (d *Daemon) GetPID() (int, error)

GetPID reads the PID from the PID file

func (*Daemon) IsRunning

func (d *Daemon) IsRunning() bool

IsRunning checks if the daemon is currently running

func (*Daemon) Start

func (d *Daemon) Start() error

Start starts the monitoring daemon in the background

func (*Daemon) Status

func (d *Daemon) Status() (string, error)

Status returns the current daemon status

func (*Daemon) Stop

func (d *Daemon) Stop() error

Stop stops the running daemon

Jump to

Keyboard shortcuts

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