MCPcopy
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
181func (mod *RestAPI) isTLS() bool {
182 return mod.certFile != "" && mod.keyFile != ""
183}
184
185func (mod *RestAPI) Configure() error {
186 var err error

Callers 4

ConfigureMethod · 0.95
StartMethod · 0.95
TestIsTLSFunction · 0.95
BenchmarkIsTLSFunction · 0.95

Calls

no outgoing calls

Tested by 2

TestIsTLSFunction · 0.76
BenchmarkIsTLSFunction · 0.76