Documentation ¶
Index ¶
- type HeartbeatHandler
- type Server
- func (s *Server) ActionPool() actpool.ActPool
- func (s *Server) Blockchain() blockchain.Blockchain
- func (s *Server) Consensus() consensus.Consensus
- func (s *Server) Dispatcher() dispatcher.Dispatcher
- func (s *Server) Explorer() *explorer.Server
- func (s *Server) P2P() network.Overlay
- func (s *Server) Start(ctx context.Context) error
- func (s *Server) Stop(ctx context.Context) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeartbeatHandler ¶
type HeartbeatHandler struct {
// contains filtered or unexported fields
}
HeartbeatHandler is the handler to periodically log the system key metrics
func NewHeartbeatHandler ¶
func NewHeartbeatHandler(s *Server) *HeartbeatHandler
NewHeartbeatHandler instantiates a HeartbeatHandler instance
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server is the iotex server instance containing all components.
func NewInMemTestServer ¶
NewInMemTestServer creates a test server in memory
func (*Server) ActionPool ¶
ActionPool returns the Action pool
func (*Server) Blockchain ¶
func (s *Server) Blockchain() blockchain.Blockchain
Blockchain returns the Blockchain
func (*Server) Dispatcher ¶
func (s *Server) Dispatcher() dispatcher.Dispatcher
Dispatcher returns the Dispatcher
Click to show internal directories.
Click to hide internal directories.