agent

package
v0.0.0-...-f0e419b Latest Latest
Warning

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

Go to latest
Published: May 2, 2017 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Agent

type Agent struct {
	Id string `json:"id"`

	Collector Collector `json:"collector"`
	Service   Service   `json:"service"`

	LastCheckTime  int64 `json:"LastCheckTime"`
	LastCheckState bool  `json:"LastCheckState"`
}

func (*Agent) StartCollector

func (self *Agent) StartCollector()

func (*Agent) StartJsonRpcServer

func (self *Agent) StartJsonRpcServer()

type Agents

type Agents []Agent

type Collector

type Collector struct {
	Device string `json:"device"`

	BPFFilter string `json:"bpf_filter"`
	TXTFilter string `json:"txt_filter"`

	MaxQueryLen int `json:"max_query_len"`
	// contains filtered or unexported fields
}

func (*Collector) Collect

func (self *Collector) Collect()

type Service

type Service struct {
	jsonrpc.JsonRpcServer
	// contains filtered or unexported fields
}

func (*Service) InitHandler

func (self *Service) InitHandler()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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