servers

package
v0.41.0 Latest Latest
Warning

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

Go to latest
Published: Feb 19, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DNSServer

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

func NewDNSServer

func NewDNSServer(cnf *config.DNSServerConfig, resolver *resolvers.GSLBHandler) *DNSServer

func (*DNSServer) Run

func (s *DNSServer) Run(ctx context.Context)

type HTTPServer

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

func NewHTTPServer

func NewHTTPServer(
	cnf *config.HTTPServerConfig,
	hcker *healthchecks.HcHandler,
	grpcServ *grpc.Server,
	metricsFetcher *proxmetrics.Fetcher,
	statusHandler *proxmetrics.StatusHandler,
) *HTTPServer

func (*HTTPServer) Run

func (s *HTTPServer) Run(ctx context.Context)

func (*HTTPServer) ServeHTTP added in v0.8.0

func (s *HTTPServer) ServeHTTP(writer http.ResponseWriter, request *http.Request)

Jump to

Keyboard shortcuts

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