server

package
v0.0.0-...-ea58cb7 Latest Latest
Warning

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

Go to latest
Published: Sep 30, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	GaugeVecProxy = prometheus.NewGaugeVec(
		prometheus.GaugeOpts{}, []string{})
)

Functions

func Healthz

func Healthz(w http.ResponseWriter, _ *http.Request)

func Metrics

func Metrics(client *webpse.Client) func(http.ResponseWriter, *http.Request)

Types

type Server

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

func New

func New(client *webpse.Client) Server

func (*Server) Start

func (s *Server) Start(port int) error

Jump to

Keyboard shortcuts

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