debug

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2023 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BuildTimestamp = "<build-timestamp>"
View Source
var Version = "<dev>"

Functions

func MakeHandler

func MakeHandler(svc Service) http.Handler

Types

type Service

type Service interface {
	Version() string
	BuildTimestamp() string
	Environment() []string
}

func NewInstrumentingService

func NewInstrumentingService(counter *prometheus.CounterVec, latency *prometheus.HistogramVec, s Service) Service

func NewLoggingservice

func NewLoggingservice(logger zerolog.Logger, s Service) Service

func NewService

func NewService() Service

Jump to

Keyboard shortcuts

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