winservice

package module
v0.1.10 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2022 License: MIT Imports: 4 Imported by: 0

README

Additional custom packages

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Handler

type Handler func(*service.Service)

Handler --

type Service

type Service struct {
	Config *service.Config
	// contains filtered or unexported fields
}

Service --

func New

func New(config *service.Config, handler Handler) (*Service, error)

New --

func (*Service) Go

func (me *Service) Go(command string) (err error)

Go --

func (*Service) Interactive

func (me *Service) Interactive() bool

Interactive --

func (*Service) Logger

func (me *Service) Logger(errs chan<- error) (log.ServiceLogger, error)

Logger --

func (*Service) Restart

func (me *Service) Restart(serv service.Service) error

Restart --

func (*Service) Start

func (me *Service) Start(serv service.Service) error

Start --

func (*Service) Stop

func (me *Service) Stop(serv service.Service) error

Stop --

func (*Service) SystemLogger

func (me *Service) SystemLogger(errs chan<- error) (log.ServiceLogger, error)

SystemLogger --

Jump to

Keyboard shortcuts

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