server

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Nov 18, 2024 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

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

func New

func New(recorder servicepb.GitLabExporterServer) *Server

func (*Server) ListenAndServe

func (s *Server) ListenAndServe(ctx context.Context, addr string) error

func (*Server) MetricsCollector

func (s *Server) MetricsCollector() prometheus.Collector

func (*Server) SetServingStatus

func (s *Server) SetServingStatus(service string, status healthpb.HealthCheckResponse_ServingStatus)

Jump to

Keyboard shortcuts

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