service

package
v0.5.0-alpha.5 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Start added in v0.2.0

func Start(wg *conc.WaitGroup)

Start start all servers

func Stop added in v0.2.0

func Stop()

Stop stop all servers

Types

type Service added in v0.2.0

type Service interface {
	Name() string
	Version() *semver.Version
	OnInit() error
	OnStart() error
	OnStop() error
}

func MustInitService added in v0.2.0

func MustInitService() []Service

MustInitService Initial service

Jump to

Keyboard shortcuts

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