httpin

package
v0.0.0-...-e9a242d Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const APIComponentType = "api"

Variables

This section is empty.

Functions

func RegisterIngestingRoutes

func RegisterIngestingRoutes(
	api *API,
	version string,
	flws []flow.Flow,
)

func RegisterOperatinalRoutes

func RegisterOperatinalRoutes(api *API, version string, metricRegistry *prometheus.Registry)

Types

type API

type API struct {
	// contains filtered or unexported fields
}

func NewAPI

func NewAPI(
	l *slog.Logger, conf config.Config, metricRegistry *prometheus.Registry, tracer trace.Tracer,
	appVersion string, flws []flow.Flow,
) *API

func (*API) ListenAndServe

func (api *API) ListenAndServe() error

func (*API) Shutdown

func (api *API) Shutdown() error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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