Categorygithub.com/micaiahwallace/gowatchprog
modulepackage
0.2.1
Repository: https://github.com/micaiahwallace/gowatchprog.git
Documentation: pkg.go.dev

# README

GoWatchProg

Project Status: ⚠️ early development

This module was created to help manage background services on machines by providing the following core feature sets.

  • Install to a proper location based on installation context (user, system, allusers)
  • Register service autostart based on service run context (user, system, allusers)
  • Watchdog autorestart (retry count, retry delay, retry delay increase)
  • Install updates remotely

Install

go get github.com/micaiahwallace/gowatchprog

Documentation

View the documentation on pkg.go.dev

Example

You can see gowatchprog in action on one of my other projects GoScreenMonit

Roadmap

  • Windows support (Full context set not implemented for install / startup)
  • Remote update feature
  • Mac OS support
  • Linux support
  • Features accessible from command line utility (for non-go services)

# Functions

Wrap the binary path in quotes and append the space separated args at the end, return the final string.

# Constants

A global context to install and run user session software for all users.
A local context to install and run user session software for the current user.
No description provided by the author
No description provided by the author
A global context to install and run a system level service not running in a user context.

# Variables

No description provided by the author
No description provided by the author

# Structs

Program defines a program installation that can be used to install, uninstall or start a watchdog based on the defined properties.

# Type aliases

No description provided by the author
Specifies the type of program installation, so that Program can customize how it installs and configures startup on each system.