Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type FederationConfig ¶
type FederationConfig struct {
Peers []PeerConfig `yaml:"peers"`
}
type Peer ¶
type Peer struct {
Config PeerConfig
Mu *sync.Mutex
Conn *grpc.ClientConn
LastComms time.Time
}
type PeerConfig ¶
type PeerRuntime ¶
type PeerRuntime struct {
Cfg PeerConfig
Mu sync.RWMutex
Conn *grpc.ClientConn
Client fedpb.FederationClient
Handshaken bool
LastSeen time.Time
Online bool
}
Click to show internal directories.
Click to hide internal directories.