MCPcopy Create free account
hub / github.com/Monibuca/engine / ReturnOK

Function ReturnOK

util/socket.go:62–64  ·  view source on GitHub ↗
(rw http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

60}
61
62func ReturnOK(rw http.ResponseWriter, r *http.Request) {
63 ReturnError(0, "ok", rw, r)
64}
65
66func ReturnError(code int, msg string, rw http.ResponseWriter, r *http.Request) {
67 query := r.URL.Query()

Callers 8

API_closeStreamMethod · 0.92
API_modifyConfigMethod · 0.92
API_updateConfigMethod · 0.92
API_stop_pushMethod · 0.92
API_stop_subscribeMethod · 0.92
API_replay_rtpdumpMethod · 0.92
API_replay_tsMethod · 0.92
API_replay_mp4Method · 0.92

Calls 1

ReturnErrorFunction · 0.85

Tested by

no test coverage detected