MCPcopy Index your code
hub / github.com/ByteStorage/FlyDB / NewHttpHandler

Function NewHttpHandler

protocol/http/http_server.go:14–16  ·  view source on GitHub ↗
(DB *engine.DB)

Source from the content-addressed store, hash-verified

12}
13
14func NewHttpHandler(DB *engine.DB) *HttpHandler {
15 return &HttpHandler{DB: DB}
16}
17
18// PutHandler 支持http进行Put
19func (hs *HttpHandler) PutHandler(w http.ResponseWriter, r *http.Request) {

Callers 1

newHttpHandlerFunction · 0.85

Calls

no outgoing calls

Tested by 1

newHttpHandlerFunction · 0.68