ws

package
v0.0.0-...-f34ac1a Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2018 License: LGPL-3.0 Imports: 14 Imported by: 0

Documentation

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 Seele monitor reporting daemon that pushes local chain statistics up to a monitoring server.

func New

func New(url string, rpc *rpc.MonitorRPC) (*Service, error)

New returns a monitoring service ready for stats reporting.

func (*Service) Start

func (s *Service) Start()

Start start the loop for sending statics data to monitor server with web socket

Jump to

Keyboard shortcuts

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