Versions in this module Expand all Collapse all v0 v0.1.0 Jun 6, 2021 Changes in this version + type StateManager interface + AddCosignature func(context.Context, *[types.VerificationKeySize]byte, *[types.SignatureSize]byte) error + Cosigned func(context.Context) (*types.SignedTreeHead, error) + Latest func(context.Context) (*types.SignedTreeHead, error) + Run func(context.Context) + ToSign func(context.Context) (*types.SignedTreeHead, error) + type StateManagerSingle struct + func NewStateManagerSingle(client trillian.Client, signer crypto.Signer, interval, deadline time.Duration) (*StateManagerSingle, error) + func (sm *StateManagerSingle) AddCosignature(_ context.Context, vk *[types.VerificationKeySize]byte, ...) error + func (sm *StateManagerSingle) Cosigned(_ context.Context) (*types.SignedTreeHead, error) + func (sm *StateManagerSingle) Latest(ctx context.Context) (*types.SignedTreeHead, error) + func (sm *StateManagerSingle) Run(ctx context.Context) + func (sm *StateManagerSingle) ToSign(_ context.Context) (*types.SignedTreeHead, error)