notmain

package
v0.20260707.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 7, 2026 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	MTPublisher struct {
		DB cmd.DBConfig

		DebugAddr string `validate:"omitempty,hostname_port"`

		// PollInterval is how often the stub scans for checkpoints that still
		// lack a mirror cosignature.
		PollInterval config.Duration `validate:"required"`

		// MTCLogID is the log this MTPublisher operates on (e.g.
		// "44947.4.1.0.44"). Used as a guard on the `mtcLogID` column of the
		// connected checkpoints table.
		MTCLogID string `validate:"required"`

		// MirrorID identifies the cosigner this publisher writes alongside each
		// cosignature (e.g. "32473.9").
		MirrorID string `validate:"required"`
	}
	Syslog        cmd.SyslogConfig
	OpenTelemetry cmd.OpenTelemetryConfig
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL