MCPcopy
hub / github.com/bettercap/bettercap / showModules

Method showModules

modules/api_rest/api_rest_controller.go:174–176  ·  view source on GitHub ↗
(w http.ResponseWriter, r *http.Request)

Source from the content-addressed store, hash-verified

172}
173
174func (mod *RestAPI) showModules(w http.ResponseWriter, r *http.Request) {
175 mod.toJSON(w, mod.Session.Modules)
176}
177
178func (mod *RestAPI) showLAN(w http.ResponseWriter, r *http.Request) {
179 params := mux.Vars(r)

Callers 1

sessionRouteMethod · 0.95

Calls 1

toJSONMethod · 0.95

Tested by

no test coverage detected