winsvc

package
v3.13.3 Latest Latest
Warning

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

Go to latest
Published: May 4, 2023 License: MIT Imports: 15 Imported by: 0

Documentation

Rendered for windows/amd64

Index

Constants

View Source
const (
	SVC_NAME = "immuneGuard"
	SVC_DESC = "immune Guard Agent Service"
)

Variables

This section is empty.

Functions

func Install

func Install(name, desc string, force bool) error

func Remove

func Remove(name string) error

func RunService

func RunService() int

Types

type Exponential

type Exponential struct {
	Min        time.Duration
	Max        time.Duration
	ErrorCount int
}

func (*Exponential) Increase

func (e *Exponential) Increase() time.Duration

func (*Exponential) Reset

func (e *Exponential) Reset()

Jump to

Keyboard shortcuts

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