monitor

package
v0.0.0-...-b4339e2 Latest Latest
Warning

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

Go to latest
Published: Jan 25, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type IMonitor

type IMonitor interface {
	Stop()
	Subscribe(conn *websocket.Conn)
}

type Monitor

type Monitor struct {
	sync.Mutex
	// contains filtered or unexported fields
}

func New

func New(storage storage.IStorage) *Monitor

func (Monitor) Stop

func (m Monitor) Stop()

func (Monitor) Subscribe

func (m Monitor) Subscribe(conn *websocket.Conn)

Jump to

Keyboard shortcuts

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