serve

package
v0.0.0-...-790a62a Latest Latest
Warning

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

Go to latest
Published: May 2, 2024 License: MIT Imports: 29 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CHACHING = concurrent.NewMap()

Functions

func NewResponseWriter

func NewResponseWriter(req *http.Request, wt io.Writer) (rspnswtr *responseWriter)

func ParseEval

func ParseEval(evalcode func(a ...interface{}) (val interface{}, err error), path, pathext string, pathmodified time.Time, Out io.Writer, In io.Reader, fs *fsutils.FSUtils, invertactive bool, fi fsutils.FileInfo, fnmodified func(modified time.Time), fnactiveraw func(rsraw bool, rsactive bool)) (err error)

func ProcessRequest

func ProcessRequest(path string, httprqst *http.Request, httprspns http.ResponseWriter, activemap map[string]interface{})

func ProcessRequestPath

func ProcessRequestPath(path string, activemap map[string]interface{})

func ProcessRequesterConn

func ProcessRequesterConn(conn net.Conn, activemap map[string]interface{})

func ServeHTTPRequest

func ServeHTTPRequest(w http.ResponseWriter, r *http.Request)

Types

type ListenApi

type ListenApi interface {
	Serve(network string, addr string, tlsconf ...*tls.Config)
	ServeTLS(network string, addr string, orgname string, tlsconf ...*tls.Config)
	Shutdown(...interface{})
}
var LISTEN ListenApi = nil

Jump to

Keyboard shortcuts

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