http_controller

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2025 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HttpController

type HttpController[V any] struct {
	// contains filtered or unexported fields
}

func New

func New[V any](
	addr string,
	apiKey string,
	logger zerolog.Logger,
) *HttpController[V]

func (*HttpController[V]) Metrics

func (ctrl *HttpController[V]) Metrics() []prometheus.Collector

func (*HttpController[V]) Start

func (ctrl *HttpController[V]) Start(ctx context.Context, pr *processor.Processor[V]) (resErr error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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