Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/bettercap/bettercap
/ isTLS
Method
isTLS
modules/api_rest/api_rest.go:181–183 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
179
}
180
181
func
(mod *RestAPI) isTLS() bool {
182
return
mod.certFile !=
""
&& mod.keyFile !=
""
183
}
184
185
func
(mod *RestAPI) Configure() error {
186
var
err error
Callers
4
Configure
Method · 0.95
Start
Method · 0.95
TestIsTLS
Function · 0.95
BenchmarkIsTLS
Function · 0.95
Calls
no outgoing calls
Tested by
2
TestIsTLS
Function · 0.76
BenchmarkIsTLS
Function · 0.76