state

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2021 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StateManager

StateManager coordinates access to the log's tree heads and (co)signatures

type StateManagerSingle

type StateManagerSingle struct {
	sync.RWMutex
	// contains filtered or unexported fields
}

StateManagerSingle implements the StateManager interface. It is assumed that the log server is running on a single-instance machine. So, no coordination.

func NewStateManagerSingle

func NewStateManagerSingle(client trillian.Client, signer crypto.Signer, interval, deadline time.Duration) (*StateManagerSingle, error)

func (*StateManagerSingle) AddCosignature

func (*StateManagerSingle) Cosigned

func (*StateManagerSingle) Latest

func (*StateManagerSingle) Run

func (sm *StateManagerSingle) Run(ctx context.Context)

func (*StateManagerSingle) ToSign

Jump to

Keyboard shortcuts

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