http

package
v3.2.0-dev.30 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Trigger

type Trigger struct {
	RouteManager TriggerRouteManager
	// contains filtered or unexported fields
}

Trigger implements Trigger to support Triggers

func (*Trigger) Initialize

func (trigger *Trigger) Initialize(_ *sync.WaitGroup, _ context.Context, background <-chan interfaces.BackgroundMessage) (bootstrap.Deferred, error)

Initialize initializes the Trigger for logging and REST route

type TriggerRequestReader

type TriggerRequestReader interface {
	io.ReadCloser
}

type TriggerResponseWriter

type TriggerResponseWriter interface {
	http.ResponseWriter
}

type TriggerRouteManager

type TriggerRouteManager interface {
	SetupTriggerRoute(path string, handlerForTrigger func(http.ResponseWriter, *http.Request))
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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