Documentation
¶
Overview ¶
Package `proxyserver` listens and accepts TLS connections. It captures data that is required for fingerprinting; for example, the ClientHello record and certain HTTP2 frames.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Server ¶
type Server struct {
// required, TLS config that including certificates, etc
TLSConfig *tls.Config
// required, set to your http.Server if you want to customize
HTTPServer *http.Server
// required, set to your http2.Server if you want to customize
HTTP2Server *http2.Server
// optional, error logger
ErrorLog *log.Logger
// optional, whether enable verbose and debug logs
VerboseLogs bool
// optional, prometheus metrics registry
MetricsRegistry *prometheus.Registry
// optional, prometheus metrics namespace, aka, prefix
MetricsPrefix string
// optional, TLS handshake timeout, default is infinity
TLSHandshakeTimeout time.Duration
// contains filtered or unexported fields
}
func (*Server) ListenAndServe ¶
Click to show internal directories.
Click to hide internal directories.