MCPcopy
hub / github.com/davyxu/cellnet / httpAcceptor

Struct httpAcceptor

peer/http/acceptor.go:15–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

13)
14
15type httpAcceptor struct {
16 peer.CorePeerProperty
17 peer.CoreProcBundle
18 peer.CoreContextSet
19
20 sv *http.Server
21
22 httpDir string
23 httpRoot string
24
25 templateDir string
26 delimsLeft string
27 delimsRight string
28 templateExts []string
29 templateFuncs []template.FuncMap
30
31 listener net.Listener
32}
33
34var (
35 errNotFound = errors.New("404 Not found")

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected