Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Services = make(map[string]RegisteredService)
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() }
Click to show internal directories.
Click to hide internal directories.