types

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Identity

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

func NewIdentityFromSeed

func NewIdentityFromSeed(seed string) *Identity

func (*Identity) DecodeMapstructure

func (i *Identity) DecodeMapstructure(value interface{}) error

func (*Identity) Derive

func (i *Identity) Derive() error

func (Identity) MarshalYAML

func (i Identity) MarshalYAML() (interface{}, error)

func (*Identity) PrivateKey

func (i *Identity) PrivateKey() ed25519.PrivateKey

func (Identity) PublicKey

func (i Identity) PublicKey() ed25519.PublicKey

func (Identity) Valid

func (i Identity) Valid() bool

type UUID

type UUID uuid.UUID

func NewUUID

func NewUUID() UUID

func ParseUUID

func ParseUUID(s string) (UUID, error)

func (UUID) Bytes

func (u UUID) Bytes() []byte

func (*UUID) DecodeMapstructure

func (u *UUID) DecodeMapstructure(value interface{}) error

func (UUID) MarshalYAML

func (u UUID) MarshalYAML() (interface{}, error)

func (UUID) String

func (u UUID) String() string

func (*UUID) UnmarshalYAML

func (u *UUID) UnmarshalYAML(value *yaml.Node) error

Jump to

Keyboard shortcuts

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