serve

package
v0.0.0-...-2ab56da Latest Latest
Warning

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

Go to latest
Published: Apr 12, 2024 License: MIT Imports: 28 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 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