aoastats

package
v0.0.0-...-d85cb20 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2024 License: GPL-3.0 Imports: 22 Imported by: 1

Documentation

Overview

Package aoastats implaoaents 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 implaoaents an aoainer-pro netstats reporting daaoaon that pushes local chain statistics up to a monitoring server.

func New

func New(url string, dacServ *aoa.Dacchain) (*Service, error)

New returns a monitoring service ready for stats reporting.

func (*Service) APIs

func (s *Service) APIs() []rpc.API

APIs implaoaents 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

func (s *Service) Protocols() []p2p.Protocol

Protocols implaoaents node.Service, returning the P2P network protocols used by the stats service (nil as it doesn't use the devp2p overlay network).

func (*Service) Start

func (s *Service) Start(server *p2p.Server) error

Start implaoaents node.Service, starting up the monitoring and reporting daaoaon.

func (*Service) Stop

func (s *Service) Stop() error

Stop implaoaents node.Service, terminating the monitoring and reporting daaoaon.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL