Documentation ¶
Index ¶
- type Node
- func (n *Node) CanAccept(endpoints.Inbound) bool
- func (n *Node) CanIntroduceJoiner() bool
- func (n *Node) GetBriefIntroSignedDigest() cryptkit.SignedDigestHolder
- func (n *Node) GetDeclaredPower() member.Power
- func (n *Node) GetDefaultEndpoint() endpoints.Outbound
- func (n *Node) GetEndpointType() endpoints.NodeEndpointType
- func (n *Node) GetExtension() profiles.StaticProfileExtension
- func (n *Node) GetExtraEndpoints() []endpoints.Outbound
- func (n *Node) GetIPAddress() endpoints.IPAddress
- func (n *Node) GetIndex() member.Index
- func (n *Node) GetIntroducedNodeID() node.ShortNodeID
- func (n *Node) GetIssuedAtPulse() pulse.Number
- func (n *Node) GetIssuedAtTime() time.Time
- func (n *Node) GetIssuerID() node.ShortNodeID
- func (n *Node) GetIssuerSignature() cryptkit.SignatureHolder
- func (n *Node) GetNameAddress() endpoints.Name
- func (n *Node) GetNodeID() node.ShortNodeID
- func (n *Node) GetNodePublicKey() cryptkit.SigningKeyHolder
- func (n *Node) GetOpMode() member.OpMode
- func (n *Node) GetPowerLevels() member.PowerSet
- func (n *Node) GetPrimaryRole() member.PrimaryRole
- func (n *Node) GetPublicKeyStore() cryptkit.PublicKeyStore
- func (n *Node) GetReference() reference.Global
- func (n *Node) GetRelayID() node.ShortNodeID
- func (n *Node) GetSignatureVerifier() cryptkit.SignatureVerifier
- func (n *Node) GetSpecialRoles() member.SpecialRole
- func (n *Node) GetStartPower() member.Power
- func (n *Node) GetStatic() profiles.StaticProfile
- func (n *Node) GetStaticNodeID() node.ShortNodeID
- func (n *Node) HasFullProfile() bool
- func (n *Node) IsAcceptableHost(from endpoints.Inbound) bool
- func (n *Node) IsJoiner() bool
- func (n *Node) IsPowered() bool
- func (n *Node) IsStateful() bool
- func (n *Node) IsVoter() bool
- func (n *Node) LocalNodeProfile()
- func (n *Node) SetNodePublicKey(npk cryptkit.SigningKeyHolder)
- func (n *Node) SetPublicKeyStore(pks cryptkit.PublicKeyStore)
- func (n *Node) SetShortID(id node.ShortNodeID)
- func (n *Node) SetSignature(digest cryptkit.SignedDigest)
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 (*Node) CanIntroduceJoiner ¶
func (*Node) GetBriefIntroSignedDigest ¶
func (n *Node) GetBriefIntroSignedDigest() cryptkit.SignedDigestHolder
func (*Node) GetDeclaredPower ¶
func (*Node) GetDefaultEndpoint ¶
func (*Node) GetEndpointType ¶
func (n *Node) GetEndpointType() endpoints.NodeEndpointType
func (*Node) GetExtension ¶
func (n *Node) GetExtension() profiles.StaticProfileExtension
func (*Node) GetExtraEndpoints ¶
func (*Node) GetIPAddress ¶
func (*Node) GetIntroducedNodeID ¶
func (n *Node) GetIntroducedNodeID() node.ShortNodeID
func (*Node) GetIssuedAtPulse ¶
func (*Node) GetIssuedAtTime ¶
func (*Node) GetIssuerID ¶
func (n *Node) GetIssuerID() node.ShortNodeID
func (*Node) GetIssuerSignature ¶
func (n *Node) GetIssuerSignature() cryptkit.SignatureHolder
func (*Node) GetNameAddress ¶
func (*Node) GetNodeID ¶
func (n *Node) GetNodeID() node.ShortNodeID
func (*Node) GetNodePublicKey ¶
func (n *Node) GetNodePublicKey() cryptkit.SigningKeyHolder
func (*Node) GetPowerLevels ¶
func (*Node) GetPrimaryRole ¶
func (n *Node) GetPrimaryRole() member.PrimaryRole
func (*Node) GetPublicKeyStore ¶
func (n *Node) GetPublicKeyStore() cryptkit.PublicKeyStore
func (*Node) GetReference ¶
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 (*Node) GetStatic ¶
func (n *Node) GetStatic() profiles.StaticProfile
func (*Node) GetStaticNodeID ¶
func (n *Node) GetStaticNodeID() node.ShortNodeID
func (*Node) HasFullProfile ¶
func (*Node) IsStateful ¶
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)
Click to show internal directories.
Click to hide internal directories.