trillianlambda

package
v0.0.0-...-e3e023b Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2019 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateLeaf

func CreateLeaf(hash []byte, data []byte) *trillian.LogLeaf

func CreateLeafFromS3Event

func CreateLeafFromS3Event(event events.S3EventRecord) *trillian.LogLeaf

Types

type LogRootVerificationData

type LogRootVerificationData struct {
	SignedLogRoot trillian.SignedLogRoot `json:"signed_log_root"`
	PublicKey     string                 `json:"public_key"`
}

type S3LeafEvent

type S3LeafEvent struct {
	BucketArn   string `json:"bucket_arn"`
	Key         string `json:"key"`
	Size        int64  `json:"size"`
	ETag        string `json:"eTag"`
	EventSource string `json:"eventSource"`
}

Directories

Path Synopsis
testonly
Package testonly is a generated GoMock package.
Package testonly is a generated GoMock package.

Jump to

Keyboard shortcuts

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