Fix some lint and vet issues

This commit is contained in:
Pim van Pelt
2025-08-28 21:17:37 +02:00
parent 7b3639ad69
commit 105a245239
10 changed files with 47 additions and 41 deletions

View File

@@ -14,6 +14,7 @@ import (
"gopkg.in/yaml.v3"
)
// Config represents the main YAML configuration structure for tesseract
type Config struct {
Listen []string `yaml:"listen"`
Checkpoints string `yaml:"checkpoints"`
@@ -21,6 +22,7 @@ type Config struct {
Logs []Log `yaml:"logs"`
}
// Log represents a single Certificate Transparency log configuration
type Log struct {
ShortName string `yaml:"shortname"`
Inception string `yaml:"inception"`