segsaver

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2018 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package segsaver contains helper methods to save segments and revocations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StoreRevocation

func StoreRevocation(revocation *path_mgmt.SignedRevInfo, rcache revcache.RevCache)

StoreRevocation stores a revocation in the revcache. Revocation must be verified before calling this.

func StoreSeg

func StoreSeg(ctx context.Context, s *seg.Meta, pdbconn conn.Conn, log log.Logger) error

StoreSeg saves s to the given pdbconn. In case of failure the error is returned.

Types

This section is empty.

Jump to

Keyboard shortcuts

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