Documentation ¶
Index ¶
Constants ¶
View Source
const ( ReadyNetwork = Mode(iota) Joiner )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Controller ¶
type Controller interface { AddJoinCandidate(candidate profiles.CandidateProfile) error Abort() ChangePower(level capacity.Level) PrepareLeave() <-chan struct{} Leave(leaveReason uint32) <-chan struct{} RegisterFinishedNotifier(fn network.OnConsensusFinished) Chronicles() api.ConsensusChronicles }
type Dep ¶
type Dep struct { KeyProcessor cryptography.KeyProcessor CertificateManager nodeinfo.CertificateManager KeyStore cryptography.KeyStore TransportCryptography transport2.CryptographyAssistant NodeKeeper beat.NodeKeeper DatagramTransport transport.DatagramTransport StateGetter adapters.NodeStater PulseChanger adapters.BeatChanger StateUpdater adapters.StateUpdater EphemeralController adapters.EphemeralController LocalNodeProfile profiles.StaticProfile }
type Installer ¶
type Installer struct {
// contains filtered or unexported fields
}
func (Installer) ControllerFor ¶
func (c Installer) ControllerFor(mode Mode, setters ...packetProcessorSetter) Controller
Click to show internal directories.
Click to hide internal directories.