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