Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsActorCmd ¶
Types ¶
type Actor ¶
type Actor struct {
ID ActorID
*GlobalActorData
CurrentPeerstore track.DynamicPeerstore
PeerStatusState status.PeerStatusState
PeerMetadataState metadata.PeerMetadataState
ChainState chain.ChainState
Dv5State dv5.Dv5State
GossipState gossip.GossipState
RPCState rpc.RPCState
HostState host.HostState
ActorCtx context.Context
// contains filtered or unexported fields
}
func NewActor ¶
func NewActor(id ActorID, globals *GlobalActorData) *Actor
type ActorCmd ¶
type ActorCmd struct {
*Actor
// To log things while the command runs, including spawned processes
Log logrus.FieldLogger
// For non-blocking tasks to end later. E.g. serving data in the background.
SpawnContext base.SpawnFn
}
type GlobalActorData ¶
Click to show internal directories.
Click to hide internal directories.