handler

package
v1.1.9 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const EventPublisherHandlerType = "event"

EventPublisherHandlerType is a handler type, used when registering an event handler ex: nats, kafka

View Source
const ReverseProxyHandlerType = "reverseproxy"

ReverseProxyHandlerType is a handler type, used when registering a reverse proxy handler

Variables

This section is empty.

Functions

func Compose

func Compose(funcs ...func(f Func) Func) func(f Func) Func

Compose Funcs

Types

type Func

type Func func(endpoint abstraction.Endpoint, loggerFactory log.Factory) http.Handler

Func is a signature that each handler must implement

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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