fcgi

package
v4.4.4 Latest Latest
Warning

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

Go to latest
Published: Oct 19, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FCGI

type FCGI struct {
	// Address and port to handle as http server.
	Address string `mapstructure:"address"`
}

FCGI for FastCGI server.

type Server

type Server struct {
	// contains filtered or unexported fields
}

func NewFCGIServer

func NewFCGIServer(handler http.Handler, cfg *FCGI, log *zap.Logger, errLog *log.Logger) *Server

func (*Server) Serve added in v4.4.1

func (s *Server) Serve(mdwr map[string]common.Middleware, order []string) error

func (*Server) Server added in v4.4.1

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

func (*Server) Stop

func (s *Server) Stop()

Jump to

Keyboard shortcuts

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