extension

package
v0.0.0-...-f1c747c Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2017 License: Apache-2.0 Imports: 5 Imported by: 0

README

Extensions

Trillian defines a number of extension points to allow for customization by forks. At runtime, implementations are acquired via an extension.Registry, which contains the comprehensive list of all supported extensions.

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
	// MapStorage is the storage implementation to use for persisting maps.
	storage.MapStorage
	// SignerFactory provides the keys used for generating signatures for each tree.
	keys.SignerFactory
	// ElectionFactory provides MasterElection instances for each tree.
	util.ElectionFactory
	// QuotaManager provides rate limiting capabilities for Trillian.
	QuotaManager quota.Manager
	// MetricFactory provides metrics for monitoring.
	monitoring.MetricFactory
}

Registry defines all extension points available in Trillian. Customizations may easily swap the underlying storage systems by providing their own implementation.

Jump to

Keyboard shortcuts

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