MCPcopy
hub / github.com/XTLS/RealiTLScanner / OutWriter

Function OutWriter

utils.go:186–194  ·  view source on GitHub ↗
(writer io.Writer)

Source from the content-addressed store, hash-verified

184 return list
185}
186func OutWriter(writer io.Writer) chan<- string {
187 ch := make(chan string)
188 go func() {
189 for s := range ch {
190 _, _ = io.WriteString(writer, s)
191 }
192 }()
193 return ch
194}
195func NextIP(ip net.IP, increment bool) net.IP {
196 // Convert to big.Int and increment
197 ipb := big.NewInt(0).SetBytes(ip)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected