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)
Click to show internal directories.
Click to hide internal directories.