MCPcopy Create free account
hub / github.com/SamNet-dev/snix / reset

Method reset

tui/scan.go:315–320  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

313}
314
315func (m *scanModel) reset() {
316 m.snis = nil
317 m.ips = nil
318 m.sniDone, m.sniTotal = 0, 0
319 m.ipDone, m.ipTotal = 0, 0
320}
321
322// saveToProfile updates the active profile's sni_pool with the top-ranked
323// SNIs and the connect.host + fallback_ips with the best IPs.

Callers 2

startSNIMethod · 0.95
startIPMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected