register_service

package
v0.0.1-20220723-0002 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2022 License: MIT Imports: 3 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

Services -> Here we will be storing the registered services

Functions

func RegisterService

func RegisterService(
	name string,
	service RegisteredService,
)

func RunRegisteredServices

func RunRegisteredServices()

RunRegisteredServices -> this will run the registered services like bootstrap client or others...

Types

type RegisteredService

type RegisteredService interface {
	Run()
	Stop()
}

Jump to

Keyboard shortcuts

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