server

package
v0.0.0-...-1f15dd0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Overview

Package server is responsible for the HTTP server that serves fediverse.express

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(providers map[string]srvcommon.Provider, software map[string]srvcommon.Software) *Server

New creates a new instance of the HTTP server

func (*Server) Listen

func (s *Server) Listen(addr string) error

Listen begins HTTP listening on the given address

Directories

Path Synopsis
Package domain is responsible for handling domains, such as domain validation
Package domain is responsible for handling domains, such as domain validation
endpoints
Package srvcommon contains various constants, interfaces and functions used by one or more server provider
Package srvcommon contains various constants, interfaces and functions used by one or more server provider

Jump to

Keyboard shortcuts

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