Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HeartbeatHandler ¶ added in v0.2.0
type HeartbeatHandler struct {
// contains filtered or unexported fields
}
HeartbeatHandler is the handler to periodically log the system key metrics
func NewHeartbeatHandler ¶ added in v0.2.0
func NewHeartbeatHandler(s *Server) *HeartbeatHandler
NewHeartbeatHandler instantiates a HeartbeatHandler instance
func (*HeartbeatHandler) Do ¶ added in v0.2.0
func (h *HeartbeatHandler) Do()
Do executes the logging logic
type Server ¶
Server is the iotex server instance containing all components.
func (*Server) Bc ¶ added in v0.2.0
func (s *Server) Bc() blockchain.Blockchain
Bc returns the Blockchain
func (*Server) Dp ¶ added in v0.2.0
func (s *Server) Dp() dispatcher.Dispatcher
Dp returns the Dispatcher
Click to show internal directories.
Click to hide internal directories.