web

package
v1.0.4 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2022 License: MIT Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Server

type Server interface {
	Address() []string
	Start()
	Stop()
	Shutdown()
	OnStart(callback func())
	OnStop(callback func())
}

func New added in v1.0.2

func New(ports *config.Ports, router http.Handler, log logger.Logger) (Server, error)

func NewWithOverrides added in v1.0.2

func NewWithOverrides(ports *config.Ports, cert *certificate.Certificate, router http.Handler, timeouts *config.Timeout, sessions *session.Provider, log logger.Logger) (Server, error)

Jump to

Keyboard shortcuts

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