Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // JobService ... JobService = &Bootstrap{} )
Functions ¶
Types ¶
type Bootstrap ¶
type Bootstrap struct {
// contains filtered or unexported fields
}
Bootstrap is coordinating process to help load and start the other components to serve.
func (*Bootstrap) LoadAndRun ¶
func (bs *Bootstrap) LoadAndRun()
LoadAndRun will load configurations, initialize components and then start the related process to serve requests. Return error if meet any problems.
func (*Bootstrap) SetJobContextInitializer ¶
func (bs *Bootstrap) SetJobContextInitializer(initializer env.JobContextInitializer)
SetJobContextInitializer set the job context initializer
Click to show internal directories.
Click to hide internal directories.