jobservice

package
v0.4.29 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2024 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DefaultConfiguration = &configuration.JobServiceConfiguration{
	GrpcPool: grpcconfig.GrpcPoolConfig{
		InitialConnections: 5,
		Capacity:           5,
	},
	SubscriberPoolSize:     30,
	SubscriptionExpirySecs: 300,
	PurgeJobSetTime:        600,
}

Functions

func RectifyConfig added in v0.3.63

func RectifyConfig(config *configuration.JobServiceConfiguration)

Mutates config where possible to correct mis-configurations.

Types

type App

type App struct {
	// Configuration for jobService
	Config *configuration.JobServiceConfiguration
}

func New

func New() *App

func (*App) StartUp

func (a *App) StartUp(ctx context.Context, config *configuration.JobServiceConfiguration) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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