protohash

package module
v0.0.1 Latest Latest
Warning

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

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

README

go-protohash

Golang Protobuf Message hash package

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HashOption

type HashOption func(*ProtoHasher)

func WithHash64

func WithHash64(h hash.Hash64) HashOption

type ProtoHasher

type ProtoHasher struct {
	// contains filtered or unexported fields
}

func New

func New(opts ...HashOption) *ProtoHasher

func (*ProtoHasher) HashMessage

func (ph *ProtoHasher) HashMessage(msg proto.Message) (uint64, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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