windowsservice

package module
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2022 License: MIT Imports: 10 Imported by: 1

README

windows-service

run an app as a windows service

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(name, description string, service serviceHandler) *srv

Types

type Service added in v1.0.2

type Service interface {
	IsInServiceMode() bool
	StopService()
	StopCommandReceived() <-chan struct{}
}

Jump to

Keyboard shortcuts

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