configs

package
v0.0.5 Latest Latest
Warning

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

Go to latest
Published: Jan 8, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TracerVersion = "0.1.0"
)

Variables

View Source
var (
	ErrUnableToPrepareService = errors.New("unable to prepare service")
	ErrFatalServerConfig      = errors.New("fatal server config")
)

Functions

This section is empty.

Types

type CaptureConfiger added in v0.0.4

type CaptureConfiger interface {
	GetCaptureTransportMode() mw_client_model.CaptureTransportMode
	GetCaptureDir() string
	GetCaptureMatchers() []mw_client_model.CaptureMatcher
}

type HttpServerRunner

type HttpServerRunner func(h http.Handler, shutdown <-chan struct{}, addr string, l *slog.Logger)

type ServerConfiger

type ServerConfiger interface {
	GetListenAddr() string
	GetTracerUrl() string
}

type TestConfiger

type TestConfiger interface {
	CaptureConfiger

	GetHttpServerRunner() HttpServerRunner
	SetHttpServerRunner(HttpServerRunner)
}

Jump to

Keyboard shortcuts

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