runtime

package
v0.0.0-...-d01dfd4 Latest Latest
Warning

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

Go to latest
Published: Apr 30, 2024 License: Apache-2.0 Imports: 43 Imported by: 29

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JobService = &Bootstrap{
	syncEnabled: true,
}

JobService ...

Functions

This section is empty.

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(ctx context.Context, cancel context.CancelFunc) (err error)

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 job.ContextInitializer)

SetJobContextInitializer set the job context initializer

Jump to

Keyboard shortcuts

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