Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DB ¶
type DB interface { // Nodes returns nodes database. Nodes() nodes.DB // MigrateToLatest initializes the database. MigrateToLatest(ctx context.Context) error // Close closes the database. Close() error }
DB is the master database for Multinode Dashboard.
architecture: Master Database
type Peer ¶
type Peer struct { // core dependencies Log *zap.Logger Identity *identity.FullIdentity DB DB Dialer rpc.Dialer // contains logic of nodes domain. Nodes struct { Service *nodes.Service } // contains logic of bandwidth domain. Bandwidth struct { Service *bandwidth.Service } // exposes operators related logic. Operators struct { Service *operators.Service } // contains logic of payouts domain. Payouts struct { Service *payouts.Service } Storage struct { Service *storage.Service } Reputation struct { Service *reputation.Service } // Web server with web UI. Console struct { Listener net.Listener Endpoint *server.Server } Servers *lifecycle.Group }
Peer is the a Multinode Dashboard application itself.
architecture: Peer
Click to show internal directories.
Click to hide internal directories.