server

package
v0.0.0-...-25dc0e1 Latest Latest
Warning

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

Go to latest
Published: Sep 9, 2024 License: GPL-3.0 Imports: 21 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SlogAddTraceAttributes

func SlogAddTraceAttributes() func(h http.Handler) http.Handler

Types

type Server

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

func NewServer

func NewServer(
	address string,
	domain string,
	sStore storage.Database,
	blacklist blacklist.Blacklister,
	config config.Configuration,
) *Server

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(ctx context.Context)

Jump to

Keyboard shortcuts

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