winservice

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: ISC Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var WinServiceMain = func(MainFunc, *ServiceDescription, *config.Config) (bool, error) { return false, nil }

WinServiceMain is only invoked on Windows. It detects when BTCD is running as a service and reacts accordingly.

Functions

This section is empty.

Types

type MainFunc

type MainFunc func(startedChan chan<- struct{}) error

MainFunc specifies the signature of an application's main function to be able to run as a windows service

type ServiceDescription

type ServiceDescription struct {
	Name        string
	DisplayName string
	Description string
}

ServiceDescription contains information about a service, needed to administer it

Jump to

Keyboard shortcuts

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