parser

package
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2017 License: AGPL-3.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultInterval       = 60 // in seconds
	DefaultExampleQueries = true
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct {

	// state
	sync.RWMutex // Lock() to protect internal consistency of the service
	// contains filtered or unexported fields
}

func New

func New(docsChan <-chan proto.SystemProfile, config pc.QAN) *Parser

func (*Parser) Name

func (self *Parser) Name() string

func (*Parser) Running

func (self *Parser) Running() bool

func (*Parser) Start

func (self *Parser) Start() (<-chan *qan.Report, error)

Start starts but doesn't wait until it exits

func (*Parser) Status

func (self *Parser) Status() map[string]string

func (*Parser) Stop

func (self *Parser) Stop()

Stop stops running

Jump to

Keyboard shortcuts

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