mutable

package
v0.0.0-...-05bc493 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Node

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

func NewTestNode

func NewTestNode(id reference.Global, role member.PrimaryRole, address string) *Node

func (*Node) CanAccept

func (n *Node) CanAccept(endpoints.Inbound) bool

func (*Node) CanIntroduceJoiner

func (n *Node) CanIntroduceJoiner() bool

func (*Node) GetBriefIntroSignedDigest

func (n *Node) GetBriefIntroSignedDigest() cryptkit.SignedDigestHolder

func (*Node) GetDeclaredPower

func (n *Node) GetDeclaredPower() member.Power

func (*Node) GetDefaultEndpoint

func (n *Node) GetDefaultEndpoint() endpoints.Outbound

func (*Node) GetEndpointType

func (n *Node) GetEndpointType() endpoints.NodeEndpointType

func (*Node) GetExtension

func (n *Node) GetExtension() profiles.StaticProfileExtension

func (*Node) GetExtraEndpoints

func (n *Node) GetExtraEndpoints() []endpoints.Outbound

func (*Node) GetIPAddress

func (n *Node) GetIPAddress() endpoints.IPAddress

func (*Node) GetIndex

func (n *Node) GetIndex() member.Index

func (*Node) GetIntroducedNodeID

func (n *Node) GetIntroducedNodeID() node.ShortNodeID

func (*Node) GetIssuedAtPulse

func (n *Node) GetIssuedAtPulse() pulse.Number

func (*Node) GetIssuedAtTime

func (n *Node) GetIssuedAtTime() time.Time

func (*Node) GetIssuerID

func (n *Node) GetIssuerID() node.ShortNodeID

func (*Node) GetIssuerSignature

func (n *Node) GetIssuerSignature() cryptkit.SignatureHolder

func (*Node) GetNameAddress

func (n *Node) GetNameAddress() endpoints.Name

func (*Node) GetNodeID

func (n *Node) GetNodeID() node.ShortNodeID

func (*Node) GetNodePublicKey

func (n *Node) GetNodePublicKey() cryptkit.SigningKeyHolder

func (*Node) GetOpMode

func (n *Node) GetOpMode() member.OpMode

func (*Node) GetPowerLevels

func (n *Node) GetPowerLevels() member.PowerSet

func (*Node) GetPrimaryRole

func (n *Node) GetPrimaryRole() member.PrimaryRole

func (*Node) GetPublicKeyStore

func (n *Node) GetPublicKeyStore() cryptkit.PublicKeyStore

func (*Node) GetReference

func (n *Node) GetReference() reference.Global

func (*Node) GetRelayID

func (n *Node) GetRelayID() node.ShortNodeID

func (*Node) GetSignatureVerifier

func (n *Node) GetSignatureVerifier() cryptkit.SignatureVerifier

func (*Node) GetSpecialRoles

func (n *Node) GetSpecialRoles() member.SpecialRole

func (*Node) GetStartPower

func (n *Node) GetStartPower() member.Power

func (*Node) GetStatic

func (n *Node) GetStatic() profiles.StaticProfile

func (*Node) GetStaticNodeID

func (n *Node) GetStaticNodeID() node.ShortNodeID

func (*Node) HasFullProfile

func (n *Node) HasFullProfile() bool

func (*Node) IsAcceptableHost

func (n *Node) IsAcceptableHost(from endpoints.Inbound) bool

func (*Node) IsJoiner

func (n *Node) IsJoiner() bool

func (*Node) IsPowered

func (n *Node) IsPowered() bool

func (*Node) IsStateful

func (n *Node) IsStateful() bool

func (*Node) IsVoter

func (n *Node) IsVoter() bool

func (*Node) LocalNodeProfile

func (n *Node) LocalNodeProfile()

func (*Node) SetNodePublicKey

func (n *Node) SetNodePublicKey(npk cryptkit.SigningKeyHolder)

func (*Node) SetPublicKeyStore

func (n *Node) SetPublicKeyStore(pks cryptkit.PublicKeyStore)

func (*Node) SetShortID

func (n *Node) SetShortID(id node.ShortNodeID)

func (*Node) SetSignature

func (n *Node) SetSignature(digest cryptkit.SignedDigest)

Jump to

Keyboard shortcuts

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