mutation

package
v0.0.0-...-1e3cd99 Latest Latest
Warning

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

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

Documentation

Overview

Package mutation implements the monitor service. This package contains the core functionality.

Index

Constants

This section is empty.

Variables

View Source
var (
	// ErrInvalidPageSize occurs when the page size is > 0.
	ErrInvalidPageSize = errors.New("Invalid page size")
	// ErrInvalidStart occurs when the start epoch of ListEntryHistoryRequest
	// is not valid (not in [1, currentEpoch]).
	ErrInvalidStart = errors.New("invalid start epoch")
)

Functions

This section is empty.

Types

type Server

type Server struct {
	// contains filtered or unexported fields
}

Server holds internal state for the monitor server core functionality.

func New

func New(logID int64,
	mapID int64,
	tlog trillian.TrillianLogClient,
	tmap trillian.TrillianMapClient,
	mutations mutator.Mutation,
	factory transaction.Factory) *Server

New creates a new instance of the monitor server.

func (*Server) GetMutations

GetMutations returns a list of mutations paged by epoch number.

Jump to

Keyboard shortcuts

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