MCPcopy Create free account
hub / github.com/DOSNetwork/core / p2pTest

Method p2pTest

dosnode/dos_restapis.go:160–162  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

158}
159
160func (d *DosNode) p2pTest(w http.ResponseWriter, r *http.Request) {
161 d.End()
162}
163func readLines(path string) ([]string, error) {
164 file, err := os.Open(path)
165 if err != nil {

Callers

nothing calls this directly

Calls 1

EndMethod · 0.95

Tested by

no test coverage detected