client

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2017 License: Apache-2.0 Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OnDemandProbeClient

type OnDemandProbeClient struct {
	sync.RWMutex
	shttp.DefaultWSServerEventHandler
	graph.DefaultGraphListener
	// contains filtered or unexported fields
}

func NewOnDemandProbeClient

func NewOnDemandProbeClient(g *graph.Graph, ch *api.CaptureAPIHandler, w *shttp.WSServer, etcdClient *etcd.EtcdClient) *OnDemandProbeClient

func (*OnDemandProbeClient) OnEdgeAdded

func (o *OnDemandProbeClient) OnEdgeAdded(e *graph.Edge)

func (*OnDemandProbeClient) OnMessage added in v0.10.0

func (o *OnDemandProbeClient) OnMessage(c *shttp.WSClient, m shttp.WSMessage)

func (*OnDemandProbeClient) OnNodeAdded

func (o *OnDemandProbeClient) OnNodeAdded(n *graph.Node)

func (*OnDemandProbeClient) OnNodeUpdated

func (o *OnDemandProbeClient) OnNodeUpdated(n *graph.Node)

func (*OnDemandProbeClient) Start

func (o *OnDemandProbeClient) Start()

func (*OnDemandProbeClient) Stop

func (o *OnDemandProbeClient) Stop()

Source Files

  • client.go

Jump to

Keyboard shortcuts

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