package proxy

import "github.com/google/trillian/util/proxy"

Package proxy forwards Trillian Log Server requests to another server.

Index

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) AddSequencedLeaf

AddSequencedLeaf forwards the RPC.

func (*Log) AddSequencedLeaves

AddSequencedLeaves forwards the RPC.

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) GetLeavesByRange

GetLeavesByRange forwards the RPC.

func (*Log) GetSequencedLeafCount

GetSequencedLeafCount forwards the RPC.

func (*Log) QueueLeaf

QueueLeaf forwards the RPC.

func (*Log) QueueLeaves

QueueLeaves forwards the RPC.

Source Files

logproxy.go

Version
v1.1.0
Published
Apr 16, 2018
Platform
js/wasm
Imports
2 packages
Last checked
6 hours ago

Tools for package owners.