Documentation ¶
Overview ¶
Package serostats implements the network stats reporting service.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service implements an Sero netstats reporting daemon that pushes local chain statistics up to a monitoring server.
func New ¶
New returns a monitoring service ready for stats reporting. func New(url string, ethServ *sero.Sero, lesServ *lesdeprecate.LightEthereum) (*Service, error) {
func (*Service) APIs ¶
APIs implements node.Service, returning the RPC API endpoints provided by the stats service (nil as it doesn't provide any user callable APIs).
func (*Service) Protocols ¶
Protocols implements node.Service, returning the P2P network protocols used by the stats service (nil as it doesn't use the devp2p overlay network).