profilehasher

package
v0.0.0-...-fea88eb Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ProfileHash

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

ProfileHash contains data required to hash a profile.

func New

func New(profileURL, libraryURL string) *ProfileHash

New initializes a new ProfileHash instance.

func NewFromString

func NewFromString(profileStr, libraryURL string) *ProfileHash

NewFromString initializes a new ProfileHash instance with a JSON string.

func (*ProfileHash) Hash

func (p *ProfileHash) Hash() (string, error)

Hash computes the hash for the profile.

Jump to

Keyboard shortcuts

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