server

package
v0.0.0-...-4215923 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2023 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Stopped         = 1
	StartPending    = 2
	StopPending     = 3
	Running         = 4
	ContinuePending = 5
	PausePending    = 6
	Paused          = 7
	NOTFIND         = 8
)

Variables

This section is empty.

Functions

This section is empty.

Types

type IServiceTools

type IServiceTools interface {
	IsStart(name string) (status int, err error)
}

type Service

type Service struct {
	// contains filtered or unexported fields
}

func On

func On(n, dn, d string) *Service

func (*Service) Start

func (sv *Service) Start(callBack func())

type ServiceTools

type ServiceTools struct {
}

func (*ServiceTools) IsStart

func (s *ServiceTools) IsStart(name string) (st int, err error)

Jump to

Keyboard shortcuts

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