Categorygithub.com/elmasy-com/go-ctstream
modulepackage
0.0.0-20230519123147-42de19a29fa2
Repository: https://github.com/elmasy-com/go-ctstream.git
Documentation: pkg.go.dev

# README

go-ctstream

Go Reference Go Report Card

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

# Functions

FindByName returns the Log with the given name from Logs.
FindByPubKey returns the Log with the given public key from Logs.
FindByURI returns the Log with the given URI from Logs.
NewScanner creates and starts a log scanner.

# Variables

No description provided by the author
A list of logs used by Chrome.

# Structs

Entry
No description provided by the author
No description provided by the author
No description provided by the author