Documentation ¶
Overview ¶
Package ct defines the interface that Certificate Transparency Logs consumers must implement.
It defines an implementation that doesn't allow the user to filter domains and leaves it to the consumer of the interface.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CT ¶
type CT interface { // Handle makes listens for new domains in CT logs. Handle(ctx context.Context, domains chan<- api.Domain) error }
CT is a Certificate Transparency client.
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client is a generic CT Logs consumer.
type Config ¶
type Config struct { // Start is the CT Log first node to read. Start int `json:"start"` // Size is the number of logs to read. Size int `json:"size"` // Logs stores the list of CT Logs to use. Logs []string `json:"logs"` // Concurrency is the number of concurrent goroutines to use while // reading the CT Log. Concurrency int `json:"concurrency"` }
Config sets CT Client behavior.
Click to show internal directories.
Click to hide internal directories.