router

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Apr 3, 2023 License: 0BSD Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Router

type Router struct {
	Address string
	// contains filtered or unexported fields
}

Router is a server multiplexer meant for handling multiple sub-domains

func New

func New() (router *Router)

New returns a new multiplexing router

func (*Router) Serve

func (router *Router) Serve(certs []tls.Certificate) (serverError chan error)

Serve the mux

func (*Router) Shutdown

func (router *Router) Shutdown() error

Shutdown shuts down the server

Jump to

Keyboard shortcuts

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