backend

package
v0.42.0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2025 License: Apache-2.0 Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RegisterControllers added in v0.29.0

func RegisterControllers(registry *worker.ControllerRegistry, connection sdk.Connection, transport http.RoundTripper, opts ctrl.Options, defaultDownstream *url.URL) error

RegisterControllers registers the controllers for the UCP backend.

Types

type Service

type Service struct {
	worker.Service
	// contains filtered or unexported fields
}

Service is a service to run AsyncReqeustProcessWorker.

func NewService

func NewService(options *ucp.Options) *Service

NewService creates new backend service instance to run the async worker.

func (*Service) Name

func (w *Service) Name() string

Name returns the service name.

func (*Service) Run

func (w *Service) Run(ctx context.Context) error

Run starts the background worker.

Directories

Path Synopsis
controller

Jump to

Keyboard shortcuts

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