checksum

package
v1.18.0-beta.2 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2020 License: Apache-2.0 Imports: 3 Imported by: 112

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Checksum

type Checksum uint64

Checksum is the data to be stored as checkpoint

func New

func New(data interface{}) Checksum

New returns the Checksum of checkpoint data

func (Checksum) Verify

func (cs Checksum) Verify(data interface{}) error

Verify verifies that passed checksum is same as calculated checksum

Jump to

Keyboard shortcuts

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