hasher

package
v0.7.22 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2023 License: MPL-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hasher

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

func New

func New() *Hasher

func (*Hasher) GetHash

func (h *Hasher) GetHash() []byte

func (*Hasher) HashBool added in v0.7.21

func (h *Hasher) HashBool(v bool)

func (*Hasher) HashBytes

func (h *Hasher) HashBytes(b []byte)

func (*Hasher) HashFile

func (h *Hasher) HashFile(ctx context.Context, src string) error

func (*Hasher) HashInt added in v0.7.21

func (h *Hasher) HashInt(i int)

func (*Hasher) HashJSONMarshalled added in v0.7.21

func (h *Hasher) HashJSONMarshalled(v any)

func (*Hasher) HashString

func (h *Hasher) HashString(s string)

Jump to

Keyboard shortcuts

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