metrics

package
v0.0.0-...-bc1f52c Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EndPoint

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

func New

func New(
	cfg config.Metrics,
	logs *zap.Logger,
) *EndPoint

func (*EndPoint) Listen

func (e *EndPoint) Listen() error

func (*EndPoint) Shutdown

func (e *EndPoint) Shutdown(ctx context.Context)

type Healthz

type Healthz struct {
	Result   bool     `json:"result"`
	Messages []string `json:"messages"`
	Version  string   `json:"version"`
}

Jump to

Keyboard shortcuts

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