server

package
v7.6.2 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2024 License: Apache-2.0 Imports: 36 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 *config.Config
	Closed <-chan bool
	// contains filtered or unexported fields
}

func New

func New(config *config.Config) (*Server, error)

func (*Server) Close

func (s *Server) Close() error

func (*Server) Handler added in v7.5.0

func (s *Server) Handler() http.Handler

func (*Server) Healthy

func (s *Server) Healthy(request *http.Request) bool

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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