fcgi

package
v5.2.8 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2025 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewFCGIServer

func NewFCGIServer(handler http.Handler, cfg *FCGI, log *zap.Logger, errLog *log.Logger) servers.InternalServer[any]

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 (*Server) Serve

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

func (*Server) Server

func (s *Server) Server() any

func (*Server) Stop

func (s *Server) Stop()