apphandlers

package
v1.5.0-rc.5 Latest Latest
Warning

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

Go to latest
Published: Jan 23, 2023 License: AGPL-3.0 Imports: 39 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewRsourcesService added in v0.1.11

func NewRsourcesService(deploymentType deployment.Type) (rsources.JobService, error)

NewRsourcesService produces a rsources.JobService through environment configuration (env variables & config file)

Types

type AppHandler

type AppHandler interface {
	// Setup to be called only once before starting the app.
	Setup(*app.Options) error
	// Start starts the app
	StartRudderCore(context.Context, *app.Options) error
}

AppHandler starts the app

func GetAppHandler

func GetAppHandler(application app.App, appType string, versionHandler func(w http.ResponseWriter, r *http.Request)) (AppHandler, error)

Jump to

Keyboard shortcuts

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