identity

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 License: Apache-2.0 Imports: 3 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identity

type Identity []byte

Identity wraps the byte representation of a lower level identity.

func (Identity) Bytes

func (id Identity) Bytes() []byte

Bytes returns the byte representation of this identity

func (Identity) Equal

func (id Identity) Equal(id2 Identity) bool

Equal return true if the identities are the same

func (Identity) Hash

func (id Identity) Hash() string

Hash returns the hash of this identity

func (Identity) IsNone

func (id Identity) IsNone() bool

IsNone returns true if this identity is empty

func (Identity) String

func (id Identity) String() string

String returns a string representation of this identity

func (Identity) UniqueID

func (id Identity) UniqueID() string

UniqueID returns a unique identifier of this identity

Jump to

Keyboard shortcuts

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