svc

package
v1.20.87 Latest Latest
Warning

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

Go to latest
Published: Jul 18, 2024 License: Zlib Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DoService

func DoService(conf Config, startService func(isWindowsService bool), stopService func())

Types

type Config

type Config struct {
	ServiceName string `json:"serviceName" yaml:"serviceName" xml:"serviceName"`
	ServiceDesc string `json:"serviceDesc" yaml:"serviceDesc" xml:"serviceDesc"`
}

Jump to

Keyboard shortcuts

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