proxy

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2017 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package proxy forwards Trillian Log Server requests to another server.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Log

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

Log implements the TrillianLogServer interface.

For each RPC, Log forwards the request to the associated method in the TrillianLogClient.

func NewLog

func NewLog(c trillian.TrillianLogClient) *Log

NewLog returns a new proxy for the TrillianLogServer.

func (*Log) GetConsistencyProof

GetConsistencyProof forwards the RPC.

func (*Log) GetEntryAndProof

GetEntryAndProof forwards the RPC.

func (*Log) GetInclusionProof

GetInclusionProof forwards the RPC.

func (*Log) GetInclusionProofByHash

GetInclusionProofByHash forwards the RPC.

func (*Log) GetLatestSignedLogRoot

GetLatestSignedLogRoot forwards the RPC.

func (*Log) GetLeavesByHash

GetLeavesByHash forwards the RPC.

func (*Log) GetLeavesByIndex

GetLeavesByIndex forwards the RPC.

func (*Log) GetSequencedLeafCount

GetSequencedLeafCount forwards the RPC.

func (*Log) QueueLeaf

QueueLeaf forwards the RPC.

func (*Log) QueueLeaves

QueueLeaves forwards the RPC.

Jump to

Keyboard shortcuts

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