repositorypackage
0.0.0-20230519123147-42de19a29fa2
Repository: https://github.com/elmasy-com/go-ctstream.git
Documentation: pkg.go.dev
# README
go-ctstream
Install
go get -u github.com/elmasy-com/go-ctstream
Example
log := ctstream.FindByName("Oak2024H1")
if log == nil {
// Handle error
}
// Starts a new scan from index 0 with 10 concurrent fetcher.
scanner, err := ctstream.NewScanner(log, 0, 10, false)
if err != nil {
// Handle error
}
for entry := range scanner.EntryChan {
// Do something
}
for err := range s.ErrChan {
// Handle errors
}
Test
go test -v -race