daemon

package
v1.2.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct {
	// Build info (injected via ldflags)
	BuildEnvironment string
	BuildDate        string
	BuildTime        string
	// contains filtered or unexported fields
}

Service implements svc.Service for Windows Service Control Manager

func New

func New(buildEnv, buildDate, buildTime string) *Service

New creates a new service instance

func (*Service) Init

func (s *Service) Init(env svc.Environment) error

Init implements svc.Service

func (*Service) Start

func (s *Service) Start() error

Start implements svc.Service

func (*Service) Stop

func (s *Service) Stop() error

Stop implements svc.Service

Jump to

Keyboard shortcuts

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