silver

module
v0.0.0-...-4377129 Latest Latest
Warning

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

Go to latest
Published: Nov 15, 2019 License: MIT

README

SILVER

A cross-platform service/daemon wrapper with in-build auto-update, crash resilience and more.

Current in development. Documentation pending.

Features:

  • Cross platform - Windows (Service), Mac (Launchd), Linux (systemd)
  • Simple way to host a service (just write a command-line program)
  • Automatic service install
  • Automatic resilience and service crash recovery
  • Application status monitoring with auto restart. Monitor via:
    • HTTP status ping
    • TCP socket echo ping
    • TCP open connection ping
    • File change ping
  • Automatic update support with a framework supporting:
    • validation,
    • signing,
    • atomic commits
    • pre and post install actions (copy, move, rename, exec)
  • Run startup tasks (again just command-line programs)
  • Run tasks on a cron schedule
  • Advanced task/service control:
    • Graceful shutdown
    • Start delay
    • Option to randomize task time(s) (e.g. ensure update checks don't all arrive at the same time of day)
  • Lots of other stuff:
    • Logging and log rotation
    • Pid file
    • Simple text based configuration in JSON format

Directories

Path Synopsis
Godeps
_workspace/src/bitbucket.org/kardianos/osext
Extensions to the standard "os" package.
Extensions to the standard "os" package.
_workspace/src/github.com/kardianos/osext
Extensions to the standard "os" package.
Extensions to the standard "os" package.
_workspace/src/github.com/kardianos/service
Package service provides a simple way to create a system service.
Package service provides a simple way to create a system service.
_workspace/src/github.com/kardianos/service/example/logging
Simple service that only works by printing a log message every few seconds.
Simple service that only works by printing a log message every few seconds.
_workspace/src/github.com/kardianos/service/example/runner
Simple service that only works by printing a log message every few seconds.
Simple service that only works by printing a log message every few seconds.
_workspace/src/github.com/kardianos/service/example/simple
simple does nothing except block while running the service.
simple does nothing except block while running the service.
_workspace/src/github.com/kardianos/service/example/stopPause
simple does nothing except block while running the service.
simple does nothing except block while running the service.
_workspace/src/github.com/robfig/cron
This library implements a cron spec parser and runner.
This library implements a cron spec parser and runner.
_workspace/src/golang.org/x/sys/windows/registry
Package registry provides access to the Windows registry.
Package registry provides access to the Windows registry.
_workspace/src/golang.org/x/sys/windows/svc
Package svc provides everything required to build Windows service.
Package svc provides everything required to build Windows service.
_workspace/src/golang.org/x/sys/windows/svc/debug
Package debug provides facilities to execute svc.Handler on console.
Package debug provides facilities to execute svc.Handler on console.
_workspace/src/golang.org/x/sys/windows/svc/eventlog
Package eventlog implements access to Windows event log.
Package eventlog implements access to Windows event log.
_workspace/src/golang.org/x/sys/windows/svc/example
Example service program that beeps.
Example service program that beeps.
_workspace/src/golang.org/x/sys/windows/svc/mgr
Package mgr can be used to manage Windows service programs.
Package mgr can be used to manage Windows service programs.
lib
logging
Package logging implements a Go-compatible loggers such as console and basic file rotation.
Package logging implements a Go-compatible loggers such as console and basic file rotation.
SILVER - Service Wrapper Copyright (c) 2014-2017 PaperCut Software http://www.papercut.com/ Use of this source code is governed by an MIT or GPL Version 2 license.
SILVER - Service Wrapper Copyright (c) 2014-2017 PaperCut Software http://www.papercut.com/ Use of this source code is governed by an MIT or GPL Version 2 license.

Jump to

Keyboard shortcuts

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