http

package
v2.3.1 Latest Latest
Warning

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

Go to latest
Published: Apr 11, 2023 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 added in v2.2.0

type TriggerRequestReader interface {
	io.ReadCloser
}

type TriggerResponseWriter added in v2.2.0

type TriggerResponseWriter interface {
	http.ResponseWriter
}

type TriggerRouteManager added in v2.2.0

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