metrics

package
v1.26.0 Latest Latest
Warning

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

Go to latest
Published: Jul 23, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type KeypairReloader

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

func NewKeypairReloader

func NewKeypairReloader(certPath, keyPath string, lg *slog.Logger) (*KeypairReloader, error)

func (*KeypairReloader) GetCertificate

func (kpr *KeypairReloader) GetCertificate(*tls.ClientHelloInfo) (*tls.Certificate, error)

type Server

type Server struct {
	Config *config.Metrics
	Log    *slog.Logger
}

func (*Server) Run

func (s *Server) Run(ctx context.Context, done func())

Jump to

Keyboard shortcuts

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