peerprofile

package
v0.0.0-...-9b85f49 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2026 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Mount

func Mount(
	router httpguard.WireRouter,
	identity nodeidentity.Identity,
	profile Properties,
)

Types

type NoPeerProfile

type NoPeerProfile struct{}

func (NoPeerProfile) Properties

func (NoPeerProfile) Properties(context.Context) []Property

type ProfileFile

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

func NewProfileFile

func NewProfileFile(dataDir string) ProfileFile

func (ProfileFile) Properties

func (p ProfileFile) Properties(ctx context.Context) []Property

type Properties

type Properties interface {
	Properties(ctx context.Context) []Property
}

type Property

type Property struct {
	Key   string
	Value string
}

Jump to

Keyboard shortcuts

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