server

package
v0.10.2 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2023 License: Apache-2.0 Imports: 8 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 struct {
	Config             *domain.RuntimeConfig `checkinject:"required"`
	CertificateManager interface {
		GetTLSConfig() *tls.Config
		GetHTTPChallengeHandler(handler http.Handler) http.Handler
	} // not required
	UserRoutes     http.Handler `checkinject:"required"`
	AppspaceRouter http.Handler `checkinject:"required"`
	// contains filtered or unexported fields
}

Server struct sets all parameters about the server

func (*Server) ServeHTTP

func (s *Server) ServeHTTP(res http.ResponseWriter, req *http.Request)

func (*Server) Shutdown

func (s *Server) Shutdown()

func (*Server) Start

func (s *Server) Start()

Start up the server so it listens for connections

Jump to

Keyboard shortcuts

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