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

Source Files

logproxy.go

Version
v1.0.1
Published
Sep 20, 2017
Platform
js/wasm
Imports
2 packages
Last checked
4 hours ago

Tools for package owners.