server

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2021 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MetricsListen added in v0.2.0

func MetricsListen(listenAddr string) error

MetricsListen starts the metrics HTTP server

Types

type Server

type Server struct {
	Upstream string
	Listener quic.Listener
}

Server stores a DoQ server

func New

func New(listenAddr string, cert tls.Certificate, upstream string, tlsCompat bool) (*Server, error)

New constructs a new Server

func (*Server) Listen

func (s *Server) Listen()

Listen starts accepting QUIC connections

Jump to

Keyboard shortcuts

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