monitor

package
v0.1.7 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2017 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const PostFreq = time.Second * 10

Variables

View Source
var Endpoint string

Functions

This section is empty.

Types

type Monitor

type Monitor struct {
	Node *data.Node
}

func Instance

func Instance() *Monitor

func (*Monitor) GetPeerCount

func (m *Monitor) GetPeerCount() int

func (*Monitor) LogBroadcaster

func (m *Monitor) LogBroadcaster(strmID string)

func (*Monitor) LogBuffer

func (m *Monitor) LogBuffer(strmID string)

func (*Monitor) LogNewConn

func (m *Monitor) LogNewConn(local, remote string)

func (*Monitor) LogRelay

func (m *Monitor) LogRelay(strmID, remote string)

func (*Monitor) LogStream

func (m *Monitor) LogStream(strmID string, size uint, avgChunkSize uint)

func (*Monitor) LogSub

func (m *Monitor) LogSub(strmID string)

func (*Monitor) RemoveBroadcast

func (m *Monitor) RemoveBroadcast(strmID string)

func (*Monitor) RemoveConn

func (m *Monitor) RemoveConn(local, remote string)

func (*Monitor) RemoveRelay

func (m *Monitor) RemoveRelay(strmID string)

func (*Monitor) RemoveStream

func (m *Monitor) RemoveStream(strmID string)

func (*Monitor) RemoveSub

func (m *Monitor) RemoveSub(strmID string)

func (*Monitor) SetBootNode

func (m *Monitor) SetBootNode()

func (*Monitor) StartWorker

func (m *Monitor) StartWorker(ctx context.Context)

Jump to

Keyboard shortcuts

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