Documentation ¶
Overview ¶
Package extension provides an extension mechanism for Trillian code to access fork-specific functionality.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Registry ¶
type Registry struct { // AdminStorage is the storage implementation to use for persisting tree metadata. storage.AdminStorage // LogStorage is the storage implementation to use for persisting logs. storage.LogStorage // ElectionFactory provides Election instances for each tree. ElectionFactory election2.Factory // QuotaManager provides rate limiting capabilities for Trillian. QuotaManager quota.Manager // MetricFactory provides metrics for monitoring. monitoring.MetricFactory // SetProcessStatus sets the current process status for diagnostic purposes. SetProcessStatus func(string) }
Registry defines all extension points available in Trillian. Customizations may easily swap the underlying storage systems by providing their own implementation.
Click to show internal directories.
Click to hide internal directories.