ragep2p

package
v1.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

View Source
const (
	PrefixPeerKeyring = "ragep2p_peer"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type PeerKeyring

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

func CreatePeerKeyring

func CreatePeerKeyring(ctx context.Context, ks commonks.Keystore, name string) (*PeerKeyring, error)

func GetPeerKeyrings

func GetPeerKeyrings(ctx context.Context, ks commonks.Keystore, keyRingNames []string) ([]*PeerKeyring, error)

func (*PeerKeyring) KeyPath

func (k *PeerKeyring) KeyPath() commonks.KeyPath

func (*PeerKeyring) MustPeerID

func (k *PeerKeyring) MustPeerID() string

func (*PeerKeyring) PeerID

func (k *PeerKeyring) PeerID() (string, error)

func (*PeerKeyring) PublicKey

func (k *PeerKeyring) PublicKey() ragetypes.PeerPublicKey

func (*PeerKeyring) Sign

func (k *PeerKeyring) Sign(msg []byte) ([]byte, error)

Jump to

Keyboard shortcuts

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